Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

EConfBool.h

Go to the documentation of this file.
00001 #ifndef EXPAT_BOOL_H 00002 #define EXPAT_BOOL_H 00003 00004 #include "EConfBase.h" 00005 00010 struct EConfBool : public EConfBase 00011 { 00012 char* _noname; 00013 bool _value; 00014 public: 00015 EConfBool( const char* name ); 00016 EConfBool( const char* name, bool val, const char* comment ); 00017 00018 virtual ~EConfBool( ); 00019 virtual bool start_child_element( const char* name, const char** atts, XML_Parser p ); 00020 virtual bool end_child_element( const char* name, XML_Parser p ); 00021 virtual bool begin_parse( const char* name, const char** atts, XML_Parser p ); 00022 virtual bool end_parse( const char* name, XML_Parser p ); 00023 virtual void dump( int depth, ostream& ostr, bool complete ); 00024 00025 void specialize( const EConfBool& o ); 00026 inline bool get( ) const { 00027 return _value; 00028 } 00029 00030 private: 00031 EConfBool( ); 00032 EConfBool( const EConfBool& ); 00033 EConfBool& operator=( const EConfBool& ); 00034 }; 00035 00037 00038 #endif /* EXPAT_BOOL_H */ 00039

Generated on Sun Mar 6 13:35:49 2005 for Komssys by doxygen 1.3.8