CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
virtual bool doValidation() const =0
Return a flag whether to do xml validation or not.
virtual void dumpFileList(void) const =0
Print out the list of files.
virtual const std::vector< std::string > & getURLList(void) const =0
Return a list of urls as a vector of strings.
virtual int readConfig(const std::string &filename)=0
(does not belong here) Read in the configuration file.
DDLDocumentProvider provides a set of URLs and filenames.
virtual std::string getSchemaLocation() const =0
Return the Schema Location.
tuple filename
Definition: lut2db_cfg.py:20
virtual const std::vector< std::string > & getFileList(void) const =0
Return a list of files as a vector of strings.