CMS 3D CMS Logo

DDLDocumentProvider.h
Go to the documentation of this file.
1 #ifndef DDL_DocumentProvider_H
2 #define DDL_DocumentProvider_H
3 
4 #include <vector>
5 #include <string>
6 
8 
21 public:
22  virtual ~DDLDocumentProvider() {}
23 
25  virtual const std::vector<std::string>& getFileList(void) const = 0;
26 
28  virtual const std::vector<std::string>& getURLList(void) const = 0;
29 
31  virtual bool doValidation() const = 0;
32 
34  virtual std::string getSchemaLocation() const = 0;
35 
37  virtual void dumpFileList(void) const = 0;
38 
40  virtual int readConfig(const std::string& filename) = 0;
41 
42 protected:
43 private:
44 };
45 
46 #endif
DDLDocumentProvider::dumpFileList
virtual void dumpFileList(void) const =0
Print out the list of files.
DDLDocumentProvider
DDLDocumentProvider provides a set of URLs and filenames.
Definition: DDLDocumentProvider.h:20
DDLDocumentProvider::getSchemaLocation
virtual std::string getSchemaLocation() const =0
Return the Schema Location.
DDLDocumentProvider::getURLList
virtual const std::vector< std::string > & getURLList(void) const =0
Return a list of urls as a vector of strings.
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
DDLDocumentProvider::doValidation
virtual bool doValidation() const =0
Return a flag whether to do xml validation or not.
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDLDocumentProvider::~DDLDocumentProvider
virtual ~DDLDocumentProvider()
Definition: DDLDocumentProvider.h:22
DDLDocumentProvider::getFileList
virtual const std::vector< std::string > & getFileList(void) const =0
Return a list of files as a vector of strings.
DDLDocumentProvider::readConfig
virtual int readConfig(const std::string &filename)=0
(does not belong here) Read in the configuration file.