FIPConfiguration reads in the configuration file for the DDParser. More...
#include <FIPConfiguration.h>
Public Member Functions | |
bool | doValidation () const override |
Return whether Validation should be on or off and where the DDL SchemaLocation is. More... | |
void | dumpFileList (void) const override |
Print out the list of files. More... | |
FIPConfiguration (DDCompactView &cpv) | |
const std::vector< std::string > & | getFileList (void) const override |
Return a list of files as a std::vector of strings. More... | |
std::string | getSchemaLocation () const override |
Return the designation for where to look for the schema. More... | |
const std::vector< std::string > & | getURLList (void) const override |
Return a list of urls as a std::vector of strings. More... | |
int | readConfig (const std::string &filename) override |
Read in the configuration file. More... | |
int | readConfig (const std::string &filename, bool fullPath) |
Read in the configuration file. More... | |
~FIPConfiguration () override | |
Public Member Functions inherited from DDLDocumentProvider | |
virtual | ~DDLDocumentProvider () |
Private Attributes | |
DDLSAX2ConfigHandler | configHandler_ |
DDCompactView & | cpv_ |
std::vector< std::string > | files_ |
std::vector< std::string > | urls_ |
FIPConfiguration reads in the configuration file for the DDParser.
begin: Sun Nov 13, 2005 email: case@ ucdh ep.uc davi s.edu
Definition at line 27 of file FIPConfiguration.h.
FIPConfiguration::FIPConfiguration | ( | DDCompactView & | cpv | ) |
Definition at line 15 of file FIPConfiguration.cc.
|
override |
Definition at line 17 of file FIPConfiguration.cc.
|
overridevirtual |
Return whether Validation should be on or off and where the DDL SchemaLocation is.
Implements DDLDocumentProvider.
Definition at line 23 of file FIPConfiguration.cc.
References configHandler_, and DDLSAX2ConfigHandler::doValidation().
|
overridevirtual |
Print out the list of files.
Implements DDLDocumentProvider.
Definition at line 27 of file FIPConfiguration.cc.
References gather_cfg::cout, FrontierConditions_GlobalTag_cff::file, and files_.
|
overridevirtual |
Return a list of files as a std::vector of strings.
Implements DDLDocumentProvider.
Definition at line 19 of file FIPConfiguration.cc.
References files_.
|
overridevirtual |
Return the designation for where to look for the schema.
Implements DDLDocumentProvider.
Definition at line 25 of file FIPConfiguration.cc.
References configHandler_, and DDLSAX2ConfigHandler::getSchemaLocation().
|
overridevirtual |
Return a list of urls as a std::vector of strings.
This implementation does not provide a meaningful url list.
Implements DDLDocumentProvider.
Definition at line 21 of file FIPConfiguration.cc.
References urls_.
|
overridevirtual |
Read in the configuration file.
Implements DDLDocumentProvider.
Definition at line 71 of file FIPConfiguration.cc.
References corrVsCorr::filename.
Referenced by output(), and testParser().
int FIPConfiguration::readConfig | ( | const std::string & | filename, |
bool | fullPath | ||
) |
Read in the configuration file.
Definition at line 39 of file FIPConfiguration.cc.
References configHandler_, cpv_, corrVsCorr::filename, files_, personalPlayback::fp, contentValuesFiles::fullPath, DDLSAX2ConfigHandler::getFileNames(), DDLSAX2ConfigHandler::getURLs(), DDLParser::getXMLParser(), AlCaHLTBitMon_QueryRunRegistry::string, and urls_.
|
private |
Definition at line 57 of file FIPConfiguration.h.
Referenced by doValidation(), getSchemaLocation(), and readConfig().
|
private |
Definition at line 60 of file FIPConfiguration.h.
Referenced by readConfig().
|
private |
Definition at line 58 of file FIPConfiguration.h.
Referenced by dumpFileList(), getFileList(), and readConfig().
|
private |
Definition at line 59 of file FIPConfiguration.h.
Referenced by getURLList(), and readConfig().