enum_constant.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef ENUM_CONSTANT_DEFINED
00004 #define ENUM_CONSTANT_DEFINED
00005 
00006 namespace class_def {
00007 
00010   class enum_constant : public attribute {
00011   public:
00012     
00013   enum_constant(
00014                 const std::string &Name = "",
00015                 const std::string &Value= "",
00016                 const std::vector<std::string>& Comments= _empty_string_vector) : 
00017     attribute( "int", 0, Name, Value, 0, Comments)
00018       {
00019       }
00020     
00021     static const char* _class_name() { return "class_def::enum_constant";}
00022     virtual const char *get_class_name() const { return _class_name();}
00023     
00024     friend std::istream& operator>>( std::istream& s, enum_constant& atr);
00025     friend std::ostream& operator<<( std::ostream& s, const enum_constant& atr);
00026   };
00027 }
00028 
00029 #endif

Generated on Tue Jul 14 12:22:31 2009 for cstpp by  doxygen 1.5.1