#include <sTGC_TechHandler.h>
|
bool | isAttribute (const xercesc::DOMNode *t, const std::string &) const |
|
std::string | getAttribute (const xercesc::DOMNode *t, const std::string &, bool &) const |
|
std::string | getAttributeAsString (AGDDController &c, const xercesc::DOMNode *t, const std::string &) const |
|
std::string | getAttributeAsString (AGDDController &c, const xercesc::DOMNode *t, const std::string &, bool &) const |
|
std::string | getAttributeAsString (AGDDController &c, const xercesc::DOMNode *t, const std::string &, const std::string &) const |
|
double | getAttributeAsDouble (AGDDController &c, const xercesc::DOMNode *t, const std::string &) const |
|
double | getAttributeAsDouble (AGDDController &c, const xercesc::DOMNode *t, const std::string &, bool &) const |
|
double | getAttributeAsDouble (AGDDController &c, const xercesc::DOMNode *t, const std::string &, const double) const |
|
int | getAttributeAsInt (AGDDController &c, const xercesc::DOMNode *t, const std::string &) const |
|
int | getAttributeAsInt (AGDDController &c, const xercesc::DOMNode *t, const std::string &, bool &) const |
|
int | getAttributeAsInt (AGDDController &c, const xercesc::DOMNode *t, const std::string &, const int) const |
|
std::vector< double > | getAttributeAsVector (AGDDController &c, const xercesc::DOMNode *t, const std::string &) const |
|
std::vector< double > | getAttributeAsVector (AGDDController &c, const xercesc::DOMNode *t, const std::string &, bool &) const |
|
std::vector< double > | getAttributeAsVector (AGDDController &c, const xercesc::DOMNode *t, const std::string &, const std::vector< double > &) const |
|
std::vector< int > | getAttributeAsIntVector (AGDDController &c, const xercesc::DOMNode *t, const std::string &) const |
|
std::vector< int > | getAttributeAsIntVector (AGDDController &c, const xercesc::DOMNode *t, const std::string &, bool &) const |
|
std::vector< int > | getAttributeAsIntVector (AGDDController &c, const xercesc::DOMNode *t, const std::string &, const std::vector< int > &) const |
|
Definition at line 11 of file sTGC_TechHandler.h.
◆ sTGC_TechHandler()
◆ ElementHandle()
void sTGC_TechHandler::ElementHandle |
( |
AGDDController & |
c, |
|
|
xercesc::DOMNode * |
t |
|
) |
| |
|
overridevirtual |
◆ getAttribute()
std::string XMLHandler::getAttribute |
( |
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
bool & |
isPresent |
|
) |
| const |
|
protectedinherited |
Definition at line 43 of file XMLHandler.cxx.
46 std::string retValue=
"";
48 if (
t->hasAttributes()) {
51 std::unique_ptr<XMLCh[], decltype(deleter)>
ptr(XMLString::transcode(
name.c_str()), deleter);
52 DOMAttr *pAttributeNode = (DOMAttr*) pAttributes->getNamedItem(
ptr.get());
55 char*
val=XMLString::transcode(pAttributeNode->getValue());
◆ getAttributeAsDouble() [1/3]
double XMLHandler::getAttributeAsDouble |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name |
|
) |
| const |
|
protectedinherited |
◆ getAttributeAsDouble() [2/3]
double XMLHandler::getAttributeAsDouble |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
bool & |
isPresent |
|
) |
| const |
|
protectedinherited |
◆ getAttributeAsDouble() [3/3]
◆ getAttributeAsInt() [1/3]
◆ getAttributeAsInt() [2/3]
int XMLHandler::getAttributeAsInt |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
bool & |
isPresent |
|
) |
| const |
|
protectedinherited |
◆ getAttributeAsInt() [3/3]
◆ getAttributeAsIntVector() [1/3]
std::vector< int > XMLHandler::getAttributeAsIntVector |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name |
|
) |
| const |
|
protectedinherited |
Definition at line 116 of file XMLHandler.cxx.
121 std::vector<int> vect;
123 if (!isPresent) std::abort();
124 std::vector<std::string>
v=
c.Evaluator().tokenize(
";",
temp);
125 for (
unsigned int i=0;
i<
v.size();
i++)
127 vect.push_back(
c.Evaluator().Eval(
v[
i].c_str()));
◆ getAttributeAsIntVector() [2/3]
std::vector< int > XMLHandler::getAttributeAsIntVector |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
bool & |
isPresent |
|
) |
| const |
|
protectedinherited |
Definition at line 180 of file XMLHandler.cxx.
184 std::vector<int> vect;
188 std::vector<std::string>
v=
c.Evaluator().tokenize(
";",
temp);
189 for (
unsigned int i=0;
i<
v.size();
i++)
191 vect.push_back(
c.Evaluator().Eval(
v[
i].c_str()));
◆ getAttributeAsIntVector() [3/3]
std::vector< int > XMLHandler::getAttributeAsIntVector |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
const std::vector< int > & |
def |
|
) |
| const |
|
protectedinherited |
Definition at line 253 of file XMLHandler.cxx.
258 std::vector<int> vect;
262 std::vector<std::string>
v=
c.Evaluator().tokenize(
";",
temp);
263 for (
unsigned int i=0;
i<
v.size();
i++)
265 vect.push_back(
c.Evaluator().Eval(
v[
i].c_str()));
◆ getAttributeAsString() [1/3]
std::string XMLHandler::getAttributeAsString |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name |
|
) |
| const |
|
protectedinherited |
◆ getAttributeAsString() [2/3]
std::string XMLHandler::getAttributeAsString |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
bool & |
isPresent |
|
) |
| const |
|
protectedinherited |
◆ getAttributeAsString() [3/3]
std::string XMLHandler::getAttributeAsString |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
const std::string & |
def |
|
) |
| const |
|
protectedinherited |
◆ getAttributeAsVector() [1/3]
std::vector< double > XMLHandler::getAttributeAsVector |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name |
|
) |
| const |
|
protectedinherited |
Definition at line 100 of file XMLHandler.cxx.
105 std::vector<double> vect;
107 if (!isPresent) std::abort();
108 std::vector<std::string>
v=
c.Evaluator().tokenize(
";",
temp);
109 for (
unsigned int i=0;
i<
v.size();
i++)
111 vect.push_back(
c.Evaluator().Eval(
v[
i].c_str()));
◆ getAttributeAsVector() [2/3]
std::vector< double > XMLHandler::getAttributeAsVector |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
bool & |
isPresent |
|
) |
| const |
|
protectedinherited |
Definition at line 163 of file XMLHandler.cxx.
167 std::vector<double> vect;
171 std::vector<std::string>
v=
c.Evaluator().tokenize(
";",
temp);
172 for (
unsigned int i=0;
i<
v.size();
i++)
174 vect.push_back(
c.Evaluator().Eval(
v[
i].c_str()));
◆ getAttributeAsVector() [3/3]
std::vector< double > XMLHandler::getAttributeAsVector |
( |
AGDDController & |
c, |
|
|
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name, |
|
|
const std::vector< double > & |
def |
|
) |
| const |
|
protectedinherited |
Definition at line 234 of file XMLHandler.cxx.
239 std::vector<double> vect;
243 std::vector<std::string>
v=
c.Evaluator().tokenize(
";",
temp);
244 for (
unsigned int i=0;
i<
v.size();
i++)
246 vect.push_back(
c.Evaluator().Eval(
v[
i].c_str()));
◆ GetName()
const std::string& XMLHandler::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ Handle()
virtual void XMLHandler::Handle |
( |
AGDDController & |
c, |
|
|
xercesc::DOMNode * |
t |
|
) |
| |
|
inlinevirtualinherited |
◆ isAttribute()
bool XMLHandler::isAttribute |
( |
const xercesc::DOMNode * |
t, |
|
|
const std::string & |
name |
|
) |
| const |
|
protectedinherited |
◆ IsLoopToBeStopped()
bool XMLHandler::IsLoopToBeStopped |
( |
| ) |
const |
|
inherited |
◆ RegisterToStore()
Definition at line 23 of file XMLHandler.cxx.
25 c.GetHandlerStore().RegisterHandler(
this);
◆ StopLoop()
void XMLHandler::StopLoop |
( |
bool |
v | ) |
|
|
inherited |
◆ m_name
std::string XMLHandler::m_name |
|
protectedinherited |
◆ m_stopLoop
bool XMLHandler::m_stopLoop |
|
protectedinherited |
The documentation for this class was generated from the following files: