CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
ConfigurationDBHandler Class Reference
Inheritance diagram for ConfigurationDBHandler:

Public Member Functions

virtual void characters (const XMLCh *const chars, const unsigned int length) override
 
virtual void characters (const XMLCh *const chars, const unsigned int length) override
 
 ConfigurationDBHandler (std::list< ConfigurationDatabaseStandardXMLParser::Item > &items)
 
 ConfigurationDBHandler (std::map< std::string, std::string > &parameters, std::vector< std::string > &items, std::string &encoding)
 
virtual void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) override
 
virtual void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) override
 
virtual void ignorableWhitespace (const XMLCh *chars, const unsigned int length) override
 
virtual void ignorableWhitespace (const XMLCh *chars, const unsigned int length) override
 
virtual void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) override
 
virtual void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) override
 
virtual ~ConfigurationDBHandler ()
 
virtual ~ConfigurationDBHandler ()
 

Private Types

enum  { md_Idle, md_Parameter, md_Data }
 
enum  { md_Idle, md_Parameter, md_Data }
 

Private Member Functions

bool cvt2String (const XMLCh *val, std::string &ou)
 
bool cvt2String (const XMLCh *val, std::string &ou)
 
bool isItemElement (const XMLCh *const localname)
 

Private Attributes

std::string & m_dataEncoding
 
std::list
< ConfigurationDatabaseStandardXMLParser::Item > & 
m_items
 
std::vector< std::string > & m_items
 
enum ConfigurationDBHandler:: { ... }  m_mode
 
enum ConfigurationDBHandler:: { ... }  m_mode
 
std::map< std::string,
std::string > & 
m_parameters
 
std::string m_pname
 
std::string m_ptype
 
std::string m_text
 
char m_workc [512]
 
ConfigurationDatabaseStandardXMLParser::Item m_workitem
 
XMLCh m_workx [256]
 
int n_elements
 
XMLCh * xc_Data
 
XMLCh * xc_elements
 
XMLCh * xc_encoding
 
XMLCh * xc_header [ITEMELEMENTNAMES]
 
XMLCh * xc_name
 
XMLCh * xc_Parameter
 
XMLCh * xc_type
 

Static Private Attributes

static const int ITEMELEMENTNAMES =3
 

Detailed Description

Definition at line 38 of file ConfigurationDatabaseStandardXMLParser.cc.

Member Enumeration Documentation

anonymous enum
private
Enumerator
md_Idle 
md_Parameter 
md_Data 

Definition at line 46 of file HcalPatternXMLParser.cc.

anonymous enum
private
Enumerator
md_Idle 
md_Parameter 
md_Data 

Definition at line 39 of file ConfigurationDatabaseStandardXMLParser.cc.

Constructor & Destructor Documentation

ConfigurationDBHandler::ConfigurationDBHandler ( std::list< ConfigurationDatabaseStandardXMLParser::Item > &  items)
inline

Definition at line 41 of file ConfigurationDatabaseStandardXMLParser.cc.

virtual ConfigurationDBHandler::~ConfigurationDBHandler ( )
inlinevirtual

Definition at line 54 of file ConfigurationDatabaseStandardXMLParser.cc.

ConfigurationDBHandler::ConfigurationDBHandler ( std::map< std::string, std::string > &  parameters,
std::vector< std::string > &  items,
std::string &  encoding 
)
inline

Definition at line 48 of file HcalPatternXMLParser.cc.

virtual ConfigurationDBHandler::~ConfigurationDBHandler ( )
inlinevirtual

Definition at line 59 of file HcalPatternXMLParser.cc.

Member Function Documentation

void ConfigurationDBHandler::characters ( const XMLCh *const  chars,
const unsigned int  length 
)
overridevirtual

Definition at line 162 of file ConfigurationDatabaseStandardXMLParser.cc.

virtual void ConfigurationDBHandler::characters ( const XMLCh *const  chars,
const unsigned int  length 
)
overridevirtual
bool ConfigurationDBHandler::cvt2String ( const XMLCh *  val,
std::string &  ou 
)
inlineprivate

Definition at line 69 of file ConfigurationDatabaseStandardXMLParser.cc.

bool ConfigurationDBHandler::cvt2String ( const XMLCh *  val,
std::string &  ou 
)
inlineprivate

Definition at line 72 of file HcalPatternXMLParser.cc.

void ConfigurationDBHandler::endElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname 
)
overridevirtual

Definition at line 136 of file ConfigurationDatabaseStandardXMLParser.cc.

virtual void ConfigurationDBHandler::endElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname 
)
overridevirtual
void ConfigurationDBHandler::ignorableWhitespace ( const XMLCh *  chars,
const unsigned int  length 
)
overridevirtual

Definition at line 158 of file ConfigurationDatabaseStandardXMLParser.cc.

virtual void ConfigurationDBHandler::ignorableWhitespace ( const XMLCh *  chars,
const unsigned int  length 
)
overridevirtual
bool ConfigurationDBHandler::isItemElement ( const XMLCh *const  localname)
inlineprivate

Definition at line 88 of file ConfigurationDatabaseStandardXMLParser.cc.

void ConfigurationDBHandler::startElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname,
const Attributes &  attrs 
)
overridevirtual

Definition at line 95 of file ConfigurationDatabaseStandardXMLParser.cc.

virtual void ConfigurationDBHandler::startElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname,
const Attributes &  attrs 
)
overridevirtual

Member Data Documentation

const int ConfigurationDBHandler::ITEMELEMENTNAMES =3
staticprivate

Definition at line 77 of file ConfigurationDatabaseStandardXMLParser.cc.

std::string& ConfigurationDBHandler::m_dataEncoding
private

Definition at line 82 of file HcalPatternXMLParser.cc.

std::list<ConfigurationDatabaseStandardXMLParser::Item>& ConfigurationDBHandler::m_items
private

Definition at line 82 of file ConfigurationDatabaseStandardXMLParser.cc.

std::vector<std::string>& ConfigurationDBHandler::m_items
private

Definition at line 83 of file HcalPatternXMLParser.cc.

enum { ... } ConfigurationDBHandler::m_mode
enum { ... } ConfigurationDBHandler::m_mode
std::map<std::string,std::string>& ConfigurationDBHandler::m_parameters
private

Definition at line 84 of file HcalPatternXMLParser.cc.

std::string ConfigurationDBHandler::m_pname
private

Definition at line 79 of file ConfigurationDatabaseStandardXMLParser.cc.

std::string ConfigurationDBHandler::m_ptype
private

Definition at line 79 of file ConfigurationDatabaseStandardXMLParser.cc.

std::string ConfigurationDBHandler::m_text
private

Definition at line 79 of file ConfigurationDatabaseStandardXMLParser.cc.

char ConfigurationDBHandler::m_workc
private

Definition at line 86 of file ConfigurationDatabaseStandardXMLParser.cc.

ConfigurationDatabaseStandardXMLParser::Item ConfigurationDBHandler::m_workitem
private

Definition at line 81 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh ConfigurationDBHandler::m_workx
private

Definition at line 87 of file ConfigurationDatabaseStandardXMLParser.cc.

int ConfigurationDBHandler::n_elements
private

Definition at line 80 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh * ConfigurationDBHandler::xc_Data
private

Definition at line 76 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh * ConfigurationDBHandler::xc_elements
private

Definition at line 76 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh * ConfigurationDBHandler::xc_encoding
private

Definition at line 76 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh* ConfigurationDBHandler::xc_header[ITEMELEMENTNAMES]
private

Definition at line 78 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh * ConfigurationDBHandler::xc_name
private

Definition at line 76 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh * ConfigurationDBHandler::xc_Parameter
private

Definition at line 76 of file ConfigurationDatabaseStandardXMLParser.cc.

XMLCh * ConfigurationDBHandler::xc_type
private

Definition at line 76 of file ConfigurationDatabaseStandardXMLParser.cc.