86 bool providesFile (
const std::string & name_str,
const std::string & path_str)
const;
91 std::string whoOwnsFile (
const std::string & path_str)
const;
94 Pathname root()
const;
98 {
return Pathname::assertprefix( root(), path_r ); }
101 Date timestamp()
const;
128 static LocaleSet requestedLocales(
const Pathname & root_r );
133 void updateAutoInstalled();
147 std::string targetDistribution()
const;
149 static std::string targetDistribution(
const Pathname & root_r );
154 std::string targetDistributionRelease()
const;
156 static std::string targetDistributionRelease(
const Pathname & root_r );
162 std::string targetDistributionFlavor()
const;
164 static std::string targetDistributionFlavor(
const Pathname & root_r );
178 std::string distributionVersion()
const;
180 static std::string distributionVersion(
const Pathname & root_r );
190 std::string distributionFlavor()
const;
192 static std::string distributionFlavor(
const Pathname & root_r );
202 std::string anonymousUniqueId()
const;
204 static std::string anonymousUniqueId(
const Pathname & root_r );
212 Target(
const Pathname & root =
"/",
bool doRebuild_r =
false );
215 Target(
const Impl_Ptr & impl_r );
220 std::ostream &
dumpOn( std::ostream & str )
const;
233 {
return obj.
dumpOn( str ); }
247 #endif // ZYPP_TARGET_H std::ostream & operator<<(std::ostream &str, const librpmDb::DbDirInfo &obj)
Interface to the rpm program.
std::ostream & operator<<(std::ostream &str, const Target &obj)
String related utilities and Regular expression matching.
DEFINE_PTR_TYPE(TargetImpl)
TraitsType::constPtrType constPtr
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Store and operate on date (time_t).
Base class for concrete Target implementations.
Provides API related macros.
RW_pointer< Impl, rw_pointer::Intrusive< Impl > > _pimpl
Pointer to implementation.
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.
Base class for reference counted objects.
std::ostream & dumpOn(std::ostream &str, const RpmPostTransCollector &obj)
Wrapper for const correct access via Smart pointer types.
std::ostream & dumpOn(std::ostream &str) const
Stream output.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Locale > LocaleSet
std::list< PoolItem > PoolItemList