23 using namespace XERCES_CPP_NAMESPACE;
26 : configHandler_( cpv ),
38 const std::vector<std::string>&
44 const std::vector<std::string>&
67 for (std::vector<std::string>::const_iterator it =
files_.begin(); it !=
files_.end(); ++it)
79 std::string absoluteFileName (filename);
86 DCOUT(
'P',
"FIPConfiguration::ReadConfig(): started");
95 size_t maxInd = vFiles.size();
98 for(; ind < maxInd ; ++ind)
DDLSAX2ConfigHandler configHandler_
std::vector< std::string > urls_
virtual void dumpFileList(void) const
Print out the list of files.
const std::string getSchemaLocation() const
FIPConfiguration(DDCompactView &cpv)
type of data representation of DDCompactView
virtual const std::vector< std::string > & getFileList(void) const
Return a list of files as a std::vector of strings.
virtual ~FIPConfiguration()
virtual const std::vector< std::string > & getURLList(void) const
Return a list of urls as a std::vector of strings.
virtual bool doValidation() const
Return whether Validation should be on or off and where the DDL SchemaLocation is.
DDLParser is the main class of Detector Description Language Parser.
const std::vector< std::string > & getURLs() const
SAX2XMLReader * getXMLParser()
Get the SAX2Parser from the DDLParser. USE WITH CAUTION. Set your own handler, etc.
std::vector< std::string > files_
int readConfig(const std::string &filename)
Read in the configuration file.
const std::vector< std::string > & getFileNames() const
const bool doValidation() const
std::string fullPath() const
std::string getSchemaLocation() const
Return the designation for where to look for the schema.
#define DCOUT(M_v_Y, M_v_S)