FIPConfiguration reads in the configuration file for the DDParser. More...
#include <FIPConfiguration.h>
Public Member Functions | |
virtual bool | doValidation () const |
Return whether Validation should be on or off and where the DDL SchemaLocation is. More... | |
virtual void | dumpFileList (void) const |
Print out the list of files. More... | |
FIPConfiguration (DDCompactView &cpv) | |
virtual const std::vector< std::string > & | getFileList (void) const |
Return a list of files as a std::vector of strings. More... | |
std::string | getSchemaLocation () const |
Return the designation for where to look for the schema. More... | |
virtual const std::vector< std::string > & | getURLList (void) const |
Return a list of urls as a std::vector of strings. More... | |
int | readConfig (const std::string &filename) |
Read in the configuration file. More... | |
int | readConfig (const std::string &filename, bool fullPath) |
Read in the configuration file. More... | |
virtual | ~FIPConfiguration () |
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.
|
virtual |
Definition at line 20 of file FIPConfiguration.cc.
|
virtual |
Return whether Validation should be on or off and where the DDL SchemaLocation is.
Implements DDLDocumentProvider.
Definition at line 36 of file FIPConfiguration.cc.
References configHandler_, DDLSAX2ConfigHandler::doValidation(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Print out the list of files.
Implements DDLDocumentProvider.
Definition at line 48 of file FIPConfiguration.cc.
References gather_cfg::cout, and files_.
|
virtual |
Return a list of files as a std::vector of strings.
Implements DDLDocumentProvider.
Definition at line 24 of file FIPConfiguration.cc.
References files_.
|
virtual |
Return the designation for where to look for the schema.
Implements DDLDocumentProvider.
Definition at line 42 of file FIPConfiguration.cc.
References configHandler_, and DDLSAX2ConfigHandler::getSchemaLocation().
|
virtual |
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 30 of file FIPConfiguration.cc.
References urls_.
|
virtual |
Read in the configuration file.
Implements DDLDocumentProvider.
Definition at line 97 of file FIPConfiguration.cc.
Referenced by output(), and testParser().
int FIPConfiguration::readConfig | ( | const std::string & | filename, |
bool | fullPath | ||
) |
Read in the configuration file.
Definition at line 62 of file FIPConfiguration.cc.
References configHandler_, cpv_, files_, edm::FileInPath::fullPath(), DDLSAX2ConfigHandler::getFileNames(), DDLSAX2ConfigHandler::getURLs(), DDLParser::getXMLParser(), AlCaHLTBitMon_QueryRunRegistry::string, and urls_.
|
private |
Definition at line 59 of file FIPConfiguration.h.
Referenced by doValidation(), getSchemaLocation(), and readConfig().
|
private |
Definition at line 62 of file FIPConfiguration.h.
Referenced by readConfig().
|
private |
Definition at line 60 of file FIPConfiguration.h.
Referenced by dumpFileList(), getFileList(), and readConfig().
|
private |
Definition at line 61 of file FIPConfiguration.h.
Referenced by getURLList(), and readConfig().