75 if ( ret.empty() && isKind<Product>() )
86 if ( isKind<Product>() )
128 #define OUTS(X) if ( kind == ResTraits<X>::kind ) return make<X>( solvable_r );
bool needToAcceptLicense() const
Acceptance of Product License needed?
std::string distribution() const
The distribution string.
A Solvable object within the sat Pool.
Store and operate with byte count.
static const SolvAttr installtime
std::string lookupStrAttribute(const SolvAttr &attr) const
returns the string attribute value for attr or an empty string if it does not exists.
String related utilities and Regular expression matching.
What is known about a repository.
Common Platform Enumearation (2.3) See http://cpe.mitre.org/ for more information on the Common Platf...
Interface base for resolvable objects (identification and dependencies).
std::string licenseToConfirm(const Locale &lang_r=Locale()) const
License or agreement to accept.
Class representing a patch.
static const SolvAttr insnotify
virtual std::ostream & dumpOn(std::ostream &str) const
Helper for stream output.
ByteCount installSize() const
Installed (unpacked) size.
std::string description(const Locale &lang_r=Locale()) const
Long text describing the resolvable.
Store and operate on date (time_t).
bool needToAcceptLicense() const
Whether the repo license has to be accepted, e.g.
std::string summary(const Locale &lang_r=Locale()) const
Short text describing the resolvable.
IMPL_PTR_TYPE(Application)
RepoInfo repoInfo() const
RepoInfo associated with the repository providing this resolvable.
ByteCount downloadSize() const
Download size.
unsigned long long lookupNumAttribute(const SolvAttr &attr) const
returns the numeric attribute value for attr or 0 if it does not exists.
virtual std::ostream & dumpOn(std::ostream &str) const
Helper for stream output.
Interface base for resolvable objects (common data).
static const SolvAttr downloadsize
std::string insnotify(const Locale &lang_r=Locale()) const
Installation Notification.
Date buildtime() const
build time of the resolvable
static const SolvAttr delnotify
virtual ~ResObject()
Dtor.
static const SolvAttr installsize
static constexpr NoThrowType noThrow
Indicator argument for non-trowing ctor.
static Ptr get(const pool::ByIdent &ident_r)
Get the Selctable.
CpeId cpeId() const
The Common Platform Enumeration name for this product.
static const SolvAttr buildtime
static const SolvAttr cpeid
std::string getLicense(const Locale &lang_r=Locale()) const
Return the best license for the current (or a specified) locale.
unsigned mediaNr() const
Media number where the resolvable is located 0 if no media access is required.
static const SolvAttr description
std::string delnotify(const Locale &lang_r=Locale()) const
De-Installation Notification.
ResObject::Ptr makeResObject(const sat::Solvable &solvable_r)
Create ResObject from sat::Solvable.
Date installtime() const
Installation time 0 if the resolvable is not installed.
static const SolvAttr eula
static const SolvAttr summary
static const SolvAttr distribution
ResObject(const sat::Solvable &solvable_r)
Ctor.
Easy-to use interface to the ZYPP dependency resolver.
Class representing an application (appdata.xml)
static const SolvAttr medianr