15#include <solv/knownid.h>
39 INT <<
"Illegal non-repositoryDeltaInfo iterator: " << deltaInfo_r << endl;
56 switch ( it.inSolvAttr().id() )
58 case DELTA_PACKAGE_NAME:
59 _name = it.asString();
62 case DELTA_PACKAGE_EVR:
66 case DELTA_PACKAGE_ARCH:
70 case DELTA_LOCATION_DIR:
74 case DELTA_LOCATION_NAME:
78 case DELTA_LOCATION_EVR:
82 case DELTA_LOCATION_SUFFIX:
83 locsuffix = it.idStr();
86 case DELTA_DOWNLOADSIZE:
111 WAR <<
"Ignore unknown attribute: " << it << endl;
119 locsuffix.
c_str() ) );
130 <<
"DeltaRpm[" << obj.
name() <<
"-" << obj.
edition() <<
"." << obj.
arch()
Store and operate with byte count.
Edition represents [epoch:]version[-release]
Access to the sat-pools string space.
const char * c_str() const
Conversion to const char *
std::string asString() const
Conversion to std::string
const Edition & edition() const
const Edition & edition() const
const std::string & name() const
const OnMediaLocation & location() const
OnMediaLocation _location
const BaseVersion & baseversion() const
const Arch & arch() const
iterator subBegin() const
Iterator to the begin of a sub-structure.
SolvAttr inSolvAttr() const
The current SolvAttr.
iterator subEnd() const
Iterator behind the end of a sub-structure.
Repository inRepo() const
The current Repository.
static const SolvAttr repositoryDeltaInfo
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const DeltaRpm &obj)
std::string form(const char *format,...) __attribute__((format(printf
Printf style construction of std::string.
Easy-to use interface to the ZYPP dependency resolver.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.