33 : _pimpl( new
Impl(root,doRebuild_r) )
83 {
return _pimpl->providesFile (name_str, path_str); }
86 {
return _pimpl->whoOwnsFile (path_str); }
92 {
return _pimpl->baseProduct(); }
95 {
return _pimpl->requestedLocales(); }
100 {
return _pimpl->updateAutoInstalled(); }
103 {
return _pimpl->targetDistribution(); }
108 {
return _pimpl->targetDistributionRelease(); }
113 {
return _pimpl->targetDistributionFlavor(); }
118 {
return _pimpl->distributionLabel(); }
123 {
return _pimpl->distributionVersion(); }
128 {
return _pimpl->distributionFlavor(); }
133 {
return _pimpl->anonymousUniqueId(); }
138 {
return _pimpl->vendorAttr(); }
140 {
_pimpl->vendorAttr( std::move(vendorAttr_r) ); }
TraitsType::constPtrType constPtr
std::string distributionFlavor() const
This is flavor attribute of the installed base product but does not require the target to be loaded a...
Pathname root() const
Return the root set for this target.
std::string anonymousUniqueId() const
anonymous unique id
std::ostream & dumpOn(std::ostream &str) const
Stream output.
Product::constPtr baseProduct() const
returns the target base installed product, also known as the distribution or platform.
std::string targetDistribution() const
This is register.target attribute of the installed base product.
std::string targetDistributionRelease() const
This is register.release attribute of the installed base product.
LocaleSet requestedLocales() const
Languages to be supported by the system.
target::rpm::RpmDb & rpmDb()
Refference to the RPM database.
void buildCache()
builds or refreshes the target cache
std::string whoOwnsFile(const std::string &path_str) const
Return name of package owning path_str or empty string if no installed package owns path_str.
RW_pointer< Impl, rw_pointer::Intrusive< Impl > > _pimpl
Pointer to implementation.
const VendorAttr & vendorAttr() const
The targets current vendor equivalence settings.
std::string targetDistributionFlavor() const
This is register.flavor attribute of the installed base product.
Target(const Pathname &root="/", bool doRebuild_r=false)
Ctor.
bool providesFile(const std::string &name_str, const std::string &path_str) const
If the package is installed and provides the file Needed to evaluate split provides during Resolver::...
void updateAutoInstalled()
Update the database of autoinstalled packages.
void unload()
unload target resolvables from the pool
std::string distributionVersion() const
This is version attribute of the installed base product.
void cleanCache()
cleans the target cache (.solv files)
intrusive_ptr< Impl > Impl_Ptr
DistributionLabel distributionLabel() const
This is shortName and summary attribute of the installed base product.
void load()
load resolvables into the pool
Definition of vendor equivalence.
Base class for concrete Target implementations.
std::string targetDistributionRelease() const
This is register.release attribute of the installed base product.
std::string targetDistribution() const
This is register.target attribute of the installed base product.
LocaleSet requestedLocales() const
Languages to be supported by the system.
std::string distributionVersion() const
This is version attribute of the installed base product.
Target::DistributionLabel distributionLabel() const
This is shortName and summary attribute of the installed base product.
std::string distributionFlavor() const
This is flavor attribute of the installed base product but does not require the target to be loaded a...
std::string anonymousUniqueId() const
anonymous unique id
std::string targetDistributionFlavor() const
This is register.flavor attribute of the installed base product.
Interface to the rpm program.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Locale > LocaleSet
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
#define IMPL_PTR_TYPE(NAME)