Go to the documentation of this file.
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) ); }
std::string targetDistributionFlavor() const
This is register.flavor 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 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.
void cleanCache()
cleans the target cache (.solv files)
std::string targetDistribution() const
This is register.target attribute of the installed base product.
TraitsType::constPtrType constPtr
std::string anonymousUniqueId() const
anonymous unique id
Definition of vendor equivalence.
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::...
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.
target::rpm::RpmDb & rpmDb()
Refference to the RPM database.
LocaleSet requestedLocales() const
Languages to be supported by the system.
Base class for concrete Target implementations.
std::string targetDistributionFlavor() const
This is register.flavor attribute of the installed base product.
Target::DistributionLabel distributionLabel() const
This is shortName and summary attribute of the installed base product.
intrusive_ptr< Impl > Impl_Ptr
Interface to the rpm program.
Product::constPtr baseProduct() const
returns the target base installed product, also known as the distribution or platform.
Easy-to use interface to the ZYPP dependency resolver.
LocaleSet requestedLocales() const
Languages to be supported by the system.
IMPL_PTR_TYPE(Application)
RW_pointer< Impl, rw_pointer::Intrusive< Impl > > _pimpl
Pointer to implementation.
std::string targetDistributionRelease() const
This is register.release attribute of the installed base product.
void load()
load resolvables into the pool
void unload()
unload target resolvables from the pool
std::string distributionVersion() const
This is version attribute of the installed base product.
DistributionLabel distributionLabel() const
This is shortName and summary attribute of the installed base product.
void buildCache()
builds or refreshes the target cache
std::ostream & dumpOn(std::ostream &str) const
Stream output.
std::string anonymousUniqueId() const
anonymous unique id
std::ostream & operator<<(std::ostream &str, const Exception &obj)
std::unordered_set< Locale > LocaleSet
std::string targetDistributionRelease() const
This is register.release attribute of the installed base product.
Target(const Pathname &root="/", bool doRebuild_r=false)
Ctor.
const VendorAttr & vendorAttr() const
The targets current vendor equivalence settings.
void updateAutoInstalled()
Update the database of autoinstalled packages.
String related utilities and Regular expression matching.
std::string targetDistribution() const
This is register.target attribute of the installed base product.
std::string distributionVersion() const
This is version attribute of the installed base product.