|
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 339 of file XMLCoreParser.cxx.
◆ attribute_number()
◆ check_double()
Definition at line 299 of file XMLCoreParser.cxx.
309 std::string
t = checkstring +
" " + checkstring;
311 std::istringstream tmpstr (
t.c_str());
312 while (tmpstr.good ())
323 std::cerr <<
"XMLCoreFactory::check_double error: (" <<
counter <<
") no " <<
n
324 <<
" doubles in \"" << checkstring <<
"\" for attribute " <<
325 name <<
". exit." << std::endl;
330 if (
name1 !=
"" ) std::cerr <<
"for name=" <<
name << std::endl;
331 if (volume !=
"" ) std::cerr <<
"for volume=" << volume << std::endl;
◆ check_int()
Definition at line 260 of file XMLCoreParser.cxx.
270 std::string
t = checkstring +
" " + checkstring;
272 std::istringstream tmpstr (
t.c_str());
273 while (tmpstr.good ())
283 std::cerr <<
"XMLCoreFactory::check_int error: no " <<
n
284 <<
" ints in \"" << checkstring <<
"\" for attribute " <<
285 name <<
". exit." << std::endl;
290 if (nodename !=
"" ) std::cerr <<
"for name=" << nodename << std::endl;
291 if (volume !=
"" ) std::cerr <<
"for volume=" << volume << std::endl;
◆ comment()
Definition at line 91 of file XMLCoreParser.cxx.
95 std::cout <<
"XMLCoreFactory::comment>" << std::endl;
◆ do_comment()
Definition at line 117 of file XMLCoreParser.cxx.
121 std::cout <<
"XMLCoreFactory::do_comment>" << std::endl;
◆ do_end()
◆ do_start()
◆ end()
Definition at line 81 of file XMLCoreParser.cxx.
85 std::cout <<
"XMLCoreFactory::end>" << std::endl;
◆ get_boolean()
◆ get_double()
◆ get_ID()
◆ get_int()
◆ get_name() [1/2]
◆ get_name() [2/2]
Definition at line 215 of file XMLCoreParser.cxx.
219 CoreParser::DOMNamedNodeMap::const_iterator
it;
226 if (
it ==
attrs.end ())
return (
"");
228 std::string
result = (*it).first;
◆ get_token()
Definition at line 233 of file XMLCoreParser.cxx.
239 while ((
result.length () > 0) &&
242 while ((
result.length () > 0) &&
247 for (std::string::size_type
i = 0;
i <
result.length (); ++
i)
249 static const std::string uc =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ";
250 static const std::string
lc =
"abcdefghijklmnopqrstuvwxyz";
252 std::string::size_type
p =
lc.find (
c);
◆ get_value()
Definition at line 180 of file XMLCoreParser.cxx.
184 std::cout <<
"XMLCoreFactory::get_value> name=" <<
name << std::endl;
189 CoreParser::DOMNamedNodeMap::const_iterator
it =
attrs.find (
name);
191 if (
it ==
attrs.end ())
return (
"");
193 std::string
result = (*it).second;
197 std::cout <<
"XMLCoreFactory::get_value>2 value=" <<
result << std::endl;
◆ has_attribute()
◆ sibling_number()
◆ start()
Definition at line 71 of file XMLCoreParser.cxx.
75 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: