00001 #ifndef EXPAT_KOMSYS_H 00002 #define EXPAT_KOMSYS_H 00003 00004 #include "EConfBase.h" 00005 #include "expat.h" 00006 00007 #include <vector> 00008 00013 class EConfSystem; 00014 00015 class EConfKomssys : public EConfBase 00016 { 00017 struct Private; 00018 Private* _list; 00019 00020 public: 00021 EConfKomssys( ); 00022 00023 virtual ~EConfKomssys( ); 00024 00025 virtual bool start_child_element( const char* name, const char** atts, XML_Parser p ); 00026 virtual bool end_child_element( const char* name, XML_Parser p ); 00027 virtual bool begin_parse( const char* name, const char** atts, XML_Parser p ); 00028 void dump( int depth, ostream& ostr, bool complete ); 00029 00030 static EConfKomssys* create( const char** atts ); 00031 00032 EConfSystem* chooseSystem( std::vector<char*> hostnames, const char* type ); 00033 00034 private: 00035 EConfKomssys( const EConfKomssys& ); 00036 EConfKomssys& operator=( const EConfKomssys& ); 00037 }; 00038 00040 00041 #endif /* EXPAT_KOMSYS_H */ 00042