00001
00002
00003 #ifndef _TARGETNAME_H
00004 #define _TARGETNAME_H
00005
00006 #include <string>
00007
00010 class TargetName {
00011 std::string name;
00012
00013 public:
00014
00016 TargetName();
00017
00021 TargetName(const std::string & name);
00022
00026 TargetName(const TargetName &tn);
00027
00028
00029 TargetName& operator=(const TargetName &);
00030 TargetName & operator=(const std::string &);
00031
00032 bool operator == (const TargetName &) const;
00033 bool operator != (const TargetName &) const;
00034 bool operator < (const TargetName &) const;
00035 bool operator <= (const TargetName &) const;
00036 bool operator > (const TargetName &) const;
00037 bool operator >= (const TargetName &) const;
00038
00039 std::string str() const;
00040 };
00041
00042 #endif //_TARGETNAME_H