00001 #ifndef DetectorDescription_Parser_XMLConfiguration_H 00002 #define DetectorDescription_Parser_XMLConfiguration_H 00003 00004 // --------------------------------------------------------------------------- 00005 // Includes 00006 // --------------------------------------------------------------------------- 00007 #include "DetectorDescription/Parser/interface/DDLDocumentProvider.h" 00008 #include "DetectorDescription/Parser/interface/DDLSAX2ConfigHandler.h" 00009 00010 class DDLParser; 00011 class DDLSAX2Handler; 00012 class DDLSAX2ConfigHandler; 00013 00014 #include <string> 00015 #include <vector> 00016 #include <map> 00017 00019 00028 class FIPConfiguration : public DDLDocumentProvider { 00029 00030 00031 public: 00032 00033 FIPConfiguration(); 00034 virtual ~FIPConfiguration(); 00035 00037 int readConfig(const std::string& filename); 00038 00040 virtual const std::vector < std::string >& getFileList(void) const; 00041 00043 00046 virtual const std::vector < std::string >& getURLList(void) const; 00047 00049 virtual void dumpFileList(void) const; 00050 00052 virtual bool doValidation() const; 00053 00055 std::string getSchemaLocation() const; 00056 00057 protected: 00058 00059 private: 00060 DDLParser * parser_; 00061 DDLSAX2ConfigHandler configHandler_; 00062 std::vector<std::string> files_; 00063 std::vector<std::string> urls_; 00064 00065 }; 00066 00067 #endif