|
| static std::string | get_name (const XMLCoreNode &node, int index) |
| |
| static int | attribute_number (const XMLCoreNode &node) |
| |
| static bool | has_attribute (const XMLCoreNode &node, const std::string &name) |
| |
| static int | get_int (const XMLCoreNode &node, const std::string &name) |
| |
| static double | get_double (const XMLCoreNode &node, const std::string &name) |
| |
| static bool | get_boolean (const XMLCoreNode &node, const std::string &name) |
| |
| static std::string | get_ID (const XMLCoreNode &node, const std::string &name) |
| |
| static std::string | get_value (const XMLCoreNode &node, const std::string &name) |
| |
| static std::string | get_token (const XMLCoreNode &node, const std::string &name) |
| |
| static bool | check_int (const int n, const XMLCoreNode &node, const std::string &name) |
| |
| static bool | check_double (const int n, const XMLCoreNode &node, const std::string &name) |
| |
Definition at line 80 of file IdDictParser.cxx.
◆ attribute_number()
◆ check_double()
Definition at line 239 of file XMLCoreParser.cxx.
247 std::string
t = checkstring +
" " + checkstring;
248 std::istringstream tmpstr (
t.c_str());
249 while (tmpstr.good ()) {
255 std::cerr <<
"XMLCoreFactory::check_double error: (" <<
counter <<
") no " <<
n
256 <<
" doubles in \"" << checkstring <<
"\" for attribute " <<
257 name <<
". exit." << std::endl;
260 if (
name1 !=
"" ) std::cerr <<
"for name=" <<
name << std::endl;
261 if (volume !=
"" ) std::cerr <<
"for volume=" << volume << std::endl;
◆ check_int()
Definition at line 207 of file XMLCoreParser.cxx.
215 std::string
t = checkstring +
" " + checkstring;
216 std::istringstream tmpstr (
t.c_str());
217 while (tmpstr.good ()) {
223 std::cerr <<
"XMLCoreFactory::check_int error: no " <<
n
224 <<
" ints in \"" << checkstring <<
"\" for attribute " <<
225 name <<
". exit." << std::endl;
230 if (nodename !=
"" ) std::cerr <<
"for name=" << nodename << std::endl;
231 if (volume !=
"" ) std::cerr <<
"for volume=" << volume << std::endl;
◆ comment()
Definition at line 82 of file XMLCoreParser.cxx.
84 std::cout <<
"XMLCoreFactory::comment>" << std::endl;
◆ do_comment()
Definition at line 104 of file XMLCoreParser.cxx.
106 std::cout <<
"XMLCoreFactory::do_comment>" << std::endl;
◆ do_end()
◆ do_start()
◆ end()
Definition at line 74 of file XMLCoreParser.cxx.
76 std::cout <<
"XMLCoreFactory::end>" << std::endl;
◆ get_boolean()
◆ get_double()
◆ get_ID()
◆ get_int()
◆ get_name() [1/2]
◆ get_name() [2/2]
◆ get_token()
◆ get_value()
Definition at line 154 of file XMLCoreParser.cxx.
156 std::cout <<
"XMLCoreFactory::get_value> name=" <<
name << std::endl;
159 CoreParser::DOMNamedNodeMap::const_iterator
it =
attrs.find (
name);
160 if (
it ==
attrs.end ())
return (
"");
161 std::string
result = (*it).second;
163 std::cout <<
"XMLCoreFactory::get_value>2 value=" <<
result << std::endl;
◆ has_attribute()
◆ idd_end()
◆ idd_start()
Reimplemented from IdDictParserNS::IdDictBaseFactory.
Definition at line 303 of file IdDictParser.cxx.
306 std::cout <<
"RegionFactory::idd_start>" << std::endl;
321 std::string::size_type
pos = 0;
323 std::string::size_type
next;
325 if (
next == std::string::npos)
break;
331 if (
next == std::string::npos) {
341 std::string::size_type
pos = 0;
343 std::string::size_type
next;
346 if (
next == std::string::npos)
break;
354 if (
next == std::string::npos) {
364 std::string::size_type
pos = 0;
366 std::string::size_type prev;
367 prev =
names.find_first_not_of (
" ",
pos);
368 if (prev == std::string::npos)
break;
370 prev =
names.find_first_of (
" ",
pos);
374 if (prev == std::string::npos) {
384 std::string::size_type
pos = 0;
386 std::string::size_type
next;
388 if (
next == std::string::npos)
break;
394 if (
next == std::string::npos) {
409 std::cout <<
"RegionFactory::idd_start> name, group, tag, next eta, prev/next samp, prev/next subdet "
410 <<
parser.m_region->name() <<
" "
411 <<
parser.m_region->group_name() <<
" "
412 <<
parser.m_region->tag() <<
" "
413 <<
parser.m_region->next_abs_eta() <<
" ";
414 for (
const std::string&
s :
parser.m_region->prev_samp_names()) {
415 std::cout <<
s <<
" ";
417 for (
const std::string&
s :
parser.m_region->next_samp_names()) {
418 std::cout <<
s <<
" ";
420 for (
const std::string&
s :
parser.m_region->prev_subdet_names()) {
421 std::cout <<
s <<
" ";
423 for (
const std::string&
s :
parser.m_region->next_subdet_names()) {
424 std::cout <<
s <<
" ";
426 std::cout <<
parser.m_region->eta0() <<
" "
427 <<
parser.m_region->deta() <<
" "
428 <<
parser.m_region->phi0() <<
" "
429 <<
parser.m_region->dphi() <<
" "
◆ sibling_number()
◆ start()
Definition at line 66 of file XMLCoreParser.cxx.
68 std::cout <<
"XMLCoreFactory::start> factory=" <<
this << std::endl;
◆ m_xmlelementname
| std::string XMLCoreFactory::m_xmlelementname |
|
protectedinherited |
The documentation for this class was generated from the following file: