00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef PkgArch_h
00020 #define PkgArch_h
00021
00022 #include <iosfwd>
00023
00024 #include <y2util/Ustring.h>
00025
00027
00028
00029
00030
00031
00032 class PkgArch : public Ustring {
00033
00034 private:
00035
00036 static UstringHash _nameHash;
00037
00038 public:
00039
00040 explicit PkgArch( const std::string & n = "" ) : Ustring( _nameHash, n ) {}
00041
00042 public:
00043
00051 static int compare( const PkgArch & lhs, const PkgArch & rhs );
00052
00053 int compare( const PkgArch & rhs ) const { return compare( *this, rhs ); }
00054 };
00055
00057
00058 #endif // PkgArch_h