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

PkgArch.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013    File:       PkgArch.h
00014 
00015    Author:     Michael Andres <ma@suse.de>
00016    Maintainer: Michael Andres <ma@suse.de>
00017 
00018 /-*/
00019 #ifndef PkgArch_h
00020 #define PkgArch_h
00021 
00022 #include <iosfwd>
00023 
00024 #include <y2util/Ustring.h>
00025 
00027 //
00028 //      CLASS NAME : PkgArch
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

Generated on Fri Nov 9 14:30:31 2007 for yast2-packagemanager by doxygen 1.3.6