87 bool providesFile (
const std::string & name_str,
const std::string & path_str)
const;
92 std::string whoOwnsFile (
const std::string & path_str)
const;
99 {
return( ! root().emptyOrRoot() ); }
135 void updateAutoInstalled();
149 std::string targetDistribution()
const;
151 static std::string targetDistribution(
const Pathname & root_r );
156 std::string targetDistributionRelease()
const;
158 static std::string targetDistributionRelease(
const Pathname & root_r );
164 std::string targetDistributionFlavor()
const;
166 static std::string targetDistributionFlavor(
const Pathname & root_r );
180 std::string distributionVersion()
const;
182 static std::string distributionVersion(
const Pathname & root_r );
192 std::string distributionFlavor()
const;
194 static std::string distributionFlavor(
const Pathname & root_r );
204 std::string anonymousUniqueId()
const;
206 static std::string anonymousUniqueId(
const Pathname & root_r );
235 std::ostream &
dumpOn( std::ostream &
str )
const override;
TraitsType::constPtrType constPtr
std::ostream & dumpOn(std::ostream &str) const override
Stream output.
bool chrooted() const
Whether the targets root is not "/".
intrusive_ptr< Impl > Impl_Ptr
Pathname assertRootPrefix(const Pathname &path_r) const
Return the path prefixed by the target root, unless it already is prefixed.
std::list< PoolItem > PoolItemList
RW_pointer< Impl, rw_pointer::Intrusive< Impl > > _pimpl
Pointer to implementation.
friend std::ostream & operator<<(std::ostream &str, const Target &obj)
Definition of vendor equivalence.
Base class for reference counted objects.
static Pathname assertprefix(const Pathname &root_r, const Pathname &path_r)
Return path_r prefixed with root_r, unless it is already prefixed.
Base class for concrete Target implementations.
Interface to the rpm program.
String related utilities and Regular expression matching.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Locale > LocaleSet
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Wrapper for const correct access via Smart pointer types.
Provides API related macros.
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.