static_constant.h

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

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