CMS 3D CMS Logo

FIPConfiguration.h
Go to the documentation of this file.
1 #ifndef DETECTOR_DESCRIPTION_PARSER_FIP_CONFIGURATION_H
2 #define DETECTOR_DESCRIPTION_PARSER_FIP_CONFIGURATION_H
3 
4 #include <map>
5 #include <string>
6 #include <vector>
7 
11 
12 class DDCompactView;
13 class DDLParser;
15 class DDLSAX2Handler;
16 
18 
28 public:
30  ~FIPConfiguration() override;
31 
33  int readConfig(const std::string& filename) override;
34 
36  int readConfig(const std::string& filename, bool fullPath);
37 
39  const std::vector<std::string>& getFileList(void) const override;
40 
42 
45  const std::vector<std::string>& getURLList(void) const override;
46 
48  void dumpFileList(void) const override;
49 
51  bool doValidation() const override;
52 
54  std::string getSchemaLocation() const override;
55 
56 private:
58  std::vector<std::string> files_;
59  std::vector<std::string> urls_;
61 };
62 
63 #endif
contentValuesFiles.fullPath
fullPath
Definition: contentValuesFiles.py:64
DDLDocumentProvider.h
FIPConfiguration::files_
std::vector< std::string > files_
Definition: FIPConfiguration.h:58
FIPConfiguration::~FIPConfiguration
~FIPConfiguration() override
Definition: FIPConfiguration.cc:17
DDCompactView.h
DDLSAX2ConfigHandler
DDLSAX2ConfigHandler is the handler for the configuration file.
Definition: DDLSAX2ConfigHandler.h:23
DDLDocumentProvider
DDLDocumentProvider provides a set of URLs and filenames.
Definition: DDLDocumentProvider.h:20
DDLSAX2Handler
DDLSAX2Handler inherits from Xerces C++ DefaultHandler.
Definition: DDLSAX2Handler.h:27
FIPConfiguration::doValidation
bool doValidation() const override
Return whether Validation should be on or off and where the DDL SchemaLocation is.
Definition: FIPConfiguration.cc:23
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDLSAX2ConfigHandler.h
FIPConfiguration::getSchemaLocation
std::string getSchemaLocation() const override
Return the designation for where to look for the schema.
Definition: FIPConfiguration.cc:25
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
FIPConfiguration::getURLList
const std::vector< std::string > & getURLList(void) const override
Return a list of urls as a std::vector of strings.
Definition: FIPConfiguration.cc:21
FIPConfiguration::configHandler_
DDLSAX2ConfigHandler configHandler_
Definition: FIPConfiguration.h:57
DDLParser
DDLParser is the main class of Detector Description Language Parser.
Definition: DDLParser.h:63
FIPConfiguration::urls_
std::vector< std::string > urls_
Definition: FIPConfiguration.h:59
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FIPConfiguration::readConfig
int readConfig(const std::string &filename) override
Read in the configuration file.
Definition: FIPConfiguration.cc:71
FIPConfiguration::getFileList
const std::vector< std::string > & getFileList(void) const override
Return a list of files as a std::vector of strings.
Definition: FIPConfiguration.cc:19
FIPConfiguration::FIPConfiguration
FIPConfiguration(DDCompactView &cpv)
Definition: FIPConfiguration.cc:15
FIPConfiguration::cpv_
DDCompactView & cpv_
Definition: FIPConfiguration.h:60
FIPConfiguration
FIPConfiguration reads in the configuration file for the DDParser.
Definition: FIPConfiguration.h:27
FIPConfiguration::dumpFileList
void dumpFileList(void) const override
Print out the list of files.
Definition: FIPConfiguration.cc:27