00001 #ifndef EXPAT_DEBUG_H 00002 #define EXPAT_DEBUG_H 00003 00004 #include "EConfStringList.h" 00005 #include "EConfBool.h" 00006 #include "EConfBase.h" 00007 00081 struct EConfDebug : public EConfBase 00082 { 00083 EConfBool _info_print; 00084 EConfStringList _do_info; 00085 EConfStringList _dont_info; 00086 00087 EConfBool _warn_print; 00088 EConfStringList _do_warn; 00089 EConfStringList _dont_warn; 00090 00091 EConfBool _error_print; 00092 EConfStringList _do_error; 00093 EConfStringList _dont_error; 00094 public: 00095 EConfDebug( ); 00096 00097 virtual bool start_child_element( const char* name, const char** atts, XML_Parser p ); 00098 00099 virtual bool end_child_element( const char* name, XML_Parser p ); 00100 bool begin_parse( const char* name, const char** atts, XML_Parser p ); 00101 00102 virtual void dump( int depth, ostream& ostr, bool complete ); 00103 void specialize( const EConfDebug& o ); 00104 bool print_info( const char* filename ); 00105 bool print_warn( const char* filename ); 00106 bool print_error( const char* filename ); 00107 00108 private: 00109 EConfDebug( const EConfDebug& ); 00110 EConfDebug& operator=( const EConfDebug& ); 00111 }; 00112 00114 00115 #endif /* EXPAT_DEBUG_H */ 00116