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 31 of file FIPConfiguration.h.
FIPConfiguration::FIPConfiguration | ( | DDCompactView & | cpv | ) |
Definition at line 25 of file FIPConfiguration.cc.
|
virtual |
Definition at line 33 of file FIPConfiguration.cc.
|
virtual |
Return whether Validation should be on or off and where the DDL SchemaLocation is.
Implements DDLDocumentProvider.
Definition at line 51 of file FIPConfiguration.cc.
References configHandler_, and DDLSAX2ConfigHandler::doValidation().
|
virtual |
Print out the list of files.
Implements DDLDocumentProvider.
Definition at line 63 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 39 of file FIPConfiguration.cc.
References files_.
|
virtual |
Return the designation for where to look for the schema.
Implements DDLDocumentProvider.
Definition at line 57 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 45 of file FIPConfiguration.cc.
References urls_.
|
virtual |
Read in the configuration file.
Implements DDLDocumentProvider.
Definition at line 114 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 77 of file FIPConfiguration.cc.
References configHandler_, cpv_, DCOUT, files_, edm::FileInPath::fullPath(), DDLSAX2ConfigHandler::getFileNames(), DDLSAX2ConfigHandler::getURLs(), DDLParser::getXMLParser(), and urls_.
|
private |
Definition at line 66 of file FIPConfiguration.h.
Referenced by doValidation(), getSchemaLocation(), and readConfig().
|
private |
Definition at line 69 of file FIPConfiguration.h.
Referenced by readConfig().
|
private |
Definition at line 67 of file FIPConfiguration.h.
Referenced by dumpFileList(), getFileList(), and readConfig().
|
private |
Definition at line 68 of file FIPConfiguration.h.
Referenced by getURLList(), and readConfig().