|
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 58 of file IdDictParser.cxx.
◆ attribute_number()
◆ check_double()
Definition at line 243 of file XMLCoreParser.cxx.
251 std::string
t = checkstring +
" " + checkstring;
252 std::istringstream tmpstr (
t.c_str());
253 while (tmpstr.good ()) {
259 std::cerr <<
"XMLCoreFactory::check_double error: (" <<
counter <<
") no " <<
n
260 <<
" doubles in \"" << checkstring <<
"\" for attribute " <<
261 name <<
". exit." << std::endl;
264 if (
name1 !=
"" ) std::cerr <<
"for name=" <<
name << std::endl;
265 if (volume !=
"" ) std::cerr <<
"for volume=" << volume << std::endl;
◆ check_int()
Definition at line 211 of file XMLCoreParser.cxx.
219 std::string
t = checkstring +
" " + checkstring;
220 std::istringstream tmpstr (
t.c_str());
221 while (tmpstr.good ()) {
227 std::cerr <<
"XMLCoreFactory::check_int error: no " <<
n
228 <<
" ints in \"" << checkstring <<
"\" for attribute " <<
229 name <<
". exit." << std::endl;
234 if (nodename !=
"" ) std::cerr <<
"for name=" << nodename << std::endl;
235 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()
Definition at line 190 of file XMLCoreParser.cxx.
193 while ((
result.length () > 0) &&
196 while ((
result.length () > 0) &&
199 for (std::string::size_type
i = 0;
i <
result.length (); ++
i){
200 static const std::string uc =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ";
201 static const std::string
lc =
"abcdefghijklmnopqrstuvwxyz";
203 std::string::size_type
p =
lc.find (
c);
◆ 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()
◆ 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: