00001 #ifndef IParser_h 00002 #define IParser_h 1 00003 00004 #include <string> 00005 00006 namespace marlin{ 00007 00008 class StringParameters ; 00009 00015 class IParser { 00016 00017 public: 00018 00019 virtual ~IParser() { /* no_op */ } 00020 00022 virtual void parse() =0 ; 00023 00025 virtual StringParameters* getParameters( const std::string& sectionName ) const =0 ; 00026 00027 }; 00028 00029 } 00030 #endif