73 if ( ret.empty() && isKind<Product>() )
80 if ( isKind<Product>() )
106 #warning DUMMY diskusage
129 #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 getLicense(const Locale &lang_r=Locale())
Return the best license for the current (or a specified) locale.
std::string lookupStrAttribute(const SolvAttr &attr) const
returns the string attribute value for attr or an empty string if it does not exists.
std::string cpeId() const
The Common Platform Enumeration name for this product.
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 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.
RepoInfo repoInfo() const
RepoInfo associated with the repository providing this resolvable.
ByteCount downloadSize() const
Size of the rpm package.
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 const SolvAttr buildtime
const DiskUsage & diskusage() const
Disk usage per directory A common attribute, although mostly packages require noticeable disk space...
static const SolvAttr cpeid
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.
static const SolvAttr medianr