#include <IdDictParser.h>
Definition at line 11 of file IdDictParser.h.
◆ FactoryMap
◆ IdDictParser()
IdDictParser::IdDictParser |
( |
| ) |
|
◆ down()
void XMLCoreParser::down |
( |
| ) |
|
|
inherited |
◆ find_factory()
◆ level()
int XMLCoreParser::level |
( |
| ) |
const |
|
inherited |
◆ parse() [1/2]
Definition at line 276 of file XMLCoreParser.cxx.
280 if (
doc !=
nullptr)
doc->print (
"============ ALL =============");
283 throw std::runtime_error(
"XMLCoreParser: no such file ["+
file_name+
"]");
◆ parse() [2/2]
IdDictMgr & IdDictParser::parse |
( |
const std::string & |
file_name, |
|
|
const std::string & |
tag = "" |
|
) |
| |
Definition at line 127 of file IdDictParser.cxx.
131 std::cout <<
"IdDictParser::parse1>" << std::endl;
135 std::cout <<
"IdDictParser::parse2>" << std::endl;
139 std::cout <<
"IdDictParser::parse3>" << std::endl;
◆ register_default_factory()
void XMLCoreParser::register_default_factory |
( |
std::unique_ptr< XMLCoreFactory > |
factory | ) |
|
|
inherited |
◆ register_external_entity()
void XMLCoreParser::register_external_entity |
( |
const std::string & |
name, |
|
|
const std::string & |
file_name |
|
) |
| |
|
inherited |
Definition at line 386 of file XMLCoreParser.cxx.
388 std::cout <<
"XMLCoreParser::register_external_entity> name=" <<
name
389 <<
" file_name=" <<
file_name << std::endl;
◆ register_factory()
void XMLCoreParser::register_factory |
( |
const std::string & |
name, |
|
|
std::unique_ptr< XMLCoreFactory > |
factory |
|
) |
| |
|
inherited |
Definition at line 376 of file XMLCoreParser.cxx.
379 std::cout <<
"XMLCoreFactory::register_factory> name=" <<
name
380 <<
" factory=" << factory.get() << std::endl;
◆ register_text_entity()
void XMLCoreParser::register_text_entity |
( |
const std::string & |
name, |
|
|
const std::string & |
text |
|
) |
| |
|
inherited |
◆ terminate()
void XMLCoreParser::terminate |
( |
| ) |
|
|
privateinherited |
◆ up()
void XMLCoreParser::up |
( |
| ) |
|
|
inherited |
◆ visit() [1/2]
void XMLCoreParser::visit |
( |
const std::string & |
file_name | ) |
|
|
inherited |
Definition at line 289 of file XMLCoreParser.cxx.
291 std::cout <<
"XMLCoreParser::visit file_name "
298 std::cout <<
"XMLCoreParser::visit node=" << nptr << std::endl;
◆ visit() [2/2]
Definition at line 304 of file XMLCoreParser.cxx.
308 const std::string& nodeName =
node.get_name();
309 const std::string& nodeValue =
node.get_value();
311 std::cout <<
"XMLCoreParser::visit node(" << nptr <<
") " << nodeName << std::endl;
315 std::cout <<
"XMLCoreParser::visit factory " << factory << std::endl;
318 switch (
node.get_type()) {
329 std::cout <<
"XMLCoreParser::visit ELEMENT_NODE "
330 <<
" factory=" << factory
334 factory->
start (*
this, core_node);
336 std::cerr <<
"XMLCoreParser> Cannot find factory for element "
337 << nodeName << std::endl;
345 if (factory != 0) factory->
end (*
this, core_node);
349 if (factory != 0) factory->
comment (*
this, nodeValue);
353 std::cout <<
"ENTITY_NODE " << nodeValue << std::endl;
357 std::cout <<
"ENTITY_REFERENCE_NODE " << nodeValue << std::endl;
361 std::cerr <<
"Unrecognized node type = " << (long)
node.get_type() << std::endl;
366 std::cout <<
"XMLCoreParser::visit-2" << std::endl;
◆ m_altregions
◆ m_default_factory
◆ m_dictionary
◆ m_factories
◆ m_field
◆ m_idd
◆ m_level
int XMLCoreParser::m_level = 0 |
|
privateinherited |
◆ m_region
◆ m_regionentry
◆ m_subregion
The documentation for this class was generated from the following files: