Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PkgArch Class Reference

#include <PkgArch.h>

Inheritance diagram for PkgArch:

Ustring List of all members.

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

Constructor & Destructor Documentation

PkgArch::PkgArch const std::string &  n = ""  )  [inline, explicit]
 


Member Function Documentation

int PkgArch::compare const PkgArch rhs  )  const [inline]
 

int PkgArch::compare const PkgArch lhs,
const PkgArch rhs
[static]
 

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.


Member Data Documentation

UstringHash PkgArch::_nameHash [static, private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by doxygen 1.3.6