libzypp
13.10.6
|
Holds an architecture ID and it's compatible relation. More...
Public Types | |
typedef bit::BitField< uint64_t > | CompatBits |
Bitfield for architecture IDs and compatBits relation. More... | |
Public Member Functions | |
CompatEntry (const std::string &archStr_r, CompatBits::IntT idBit_r=1) | |
CompatEntry (IdString archStr_r, CompatBits::IntT idBit_r=1) | |
void | addCompatBit (const CompatBits &idBit_r) const |
bool | compatibleWith (const CompatEntry &targetEntry_r) const |
Return whether this is compatible with targetEntry_r. More... | |
int | compare (const CompatEntry &rhs) const |
compare by score, then archStr. More... | |
bool | isBuiltIn () const |
IdString::IdType | id () const |
Public Attributes | |
IdString | _idStr |
std::string | _archStr |
CompatBits | _idBit |
CompatBits | _compatBits |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const Arch::CompatEntry &obj) |
bool | operator== (const Arch::CompatEntry &lhs, const Arch::CompatEntry &rhs) |
bool | operator!= (const Arch::CompatEntry &lhs, const Arch::CompatEntry &rhs) |
Holds an architecture ID and it's compatible relation.
An architecture is compatibleWith, if it's _idBit is set in _compatBits. noarch has ID 0, non builtin archs ID 1 and have to be treated specialy.
typedef bit::BitField<uint64_t> zypp::Arch::CompatEntry::CompatBits |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
related |
|
related |
|
related |
CompatBits zypp::Arch::CompatEntry::_idBit |
|
mutable |