#include <PkgArch.h>
Inheritance diagram for PkgArch:
Public Member Functions | |
PkgArch (const std::string &n="") | |
int | compare (const PkgArch &rhs) const |
Static Public Member Functions | |
int | compare (const PkgArch &lhs, const PkgArch &rhs) |
Static Private Attributes | |
UstringHash | _nameHash |
|
|
|
|
|
Compare two PkgArch's according to Y2PM::allowedArchs. If lhs is smaller than rhs 1 is returned, if lhs is equal to rhs 0 is returned, if lhs is greater than rhs -1 is returned. If both architectures aren't contained in Y2PM::allowedArchs 0 is returned. |
|
|