#include <IdDictMgr.h>
Definition at line 16 of file IdDictMgr.h.
◆ dictionary_map
◆ dictionary_vec
◆ metadata_map
◆ IdDictMgr()
Definition at line 44 of file IdDictMgr.cxx.
45 :
50}
bool m_generated_implementation
bool m_resolved_references
◆ ~IdDictMgr()
| IdDictMgr::~IdDictMgr |
( |
| ) |
|
|
default |
◆ add_dictionary()
| void IdDictMgr::add_dictionary |
( |
std::unique_ptr< IdDictDictionary > | dictionary | ) |
|
Fillers:
Definition at line 128 of file IdDictMgr.cxx.
128 {
129 if (dictionary == 0) return;
130
132
134
136 dictionary_map::iterator
it;
137
139 std::cout <<
"IdDictMgr::add_dictionary> d[" <<
p.first <<
"]=" <<
p.second.get() << std::endl;
140 }
141 }
142}
dictionary_map m_dictionaries
◆ add_metadata()
| void IdDictMgr::add_metadata |
( |
const std::string & | name, |
|
|
const std::string & | value ) |
Definition at line 95 of file IdDictMgr.cxx.
95 {
96 if (!
m_metadata.insert(metadata_map::value_type(name, value)).second) {
97 std::cout <<
"IdDictMgr::add_metadata> unable to add name/value " <<
name <<
"/" <<
value << std::endl;
98 }
99}
◆ add_subdictionary_name()
| void IdDictMgr::add_subdictionary_name |
( |
const std::string & | name | ) |
|
Definition at line 144 of file IdDictMgr.cxx.
144 {
146}
std::set< std::string > m_subdictionary_names
◆ clear()
| void IdDictMgr::clear |
( |
| ) |
|
◆ do_checks()
| bool IdDictMgr::do_checks |
( |
| ) |
const |
Check whether or not to do checks for ids.
Definition at line 62 of file IdDictMgr.cxx.
◆ do_neighbours()
| bool IdDictMgr::do_neighbours |
( |
| ) |
const |
Check whether or not to init neighbours.
Definition at line 74 of file IdDictMgr.cxx.
◆ DTD_version()
| const std::string & IdDictMgr::DTD_version |
( |
| ) |
const |
DTD version.
Definition at line 58 of file IdDictMgr.cxx.
58 {
60}
std::string m_DTD_version
◆ find_dictionary() [1/2]
◆ find_dictionary() [2/2]
| const IdDictDictionary * IdDictMgr::find_dictionary |
( |
const std::string & | name | ) |
const |
Access dictionary by name.
Definition at line 116 of file IdDictMgr.cxx.
116 {
119 return it->second.get();
120}
◆ find_metadata()
| const std::string & IdDictMgr::find_metadata |
( |
const std::string & | name | ) |
const |
Access to meta data, name/value pairs.
Definition at line 87 of file IdDictMgr.cxx.
87 {
89 static const std::string
empty;
92}
static const Attributes_t empty
◆ find_subdicts()
◆ generate_implementation()
| void IdDictMgr::generate_implementation |
( |
const std::string & | tag = "" | ) |
|
Definition at line 157 of file IdDictMgr.cxx.
157 {
159 std::cout << "IdDictMgr::generate_implementation>" << std::endl;
160 }
161
162
163
165
169
173 }
175 }
176}
const std::string & tag() const
Version tag.
void reset_implementation()
Reset of implementation.
◆ get_dictionaries()
Access to all dictionaries.
Definition at line 106 of file IdDictMgr.cxx.
107{
108 std::vector<const IdDictDictionary*>
out;
111 out.push_back (
p.second.get());
112 }
114}
◆ reset_implementation()
| void IdDictMgr::reset_implementation |
( |
| ) |
|
Reset of implementation.
Definition at line 178 of file IdDictMgr.cxx.
178 {
179 std::cout << "IdDictMgr::reset_implementation" << std::endl;
180
181
184
188 }
190 }
191}
◆ resolve_references()
| void IdDictMgr::resolve_references |
( |
| ) |
|
Construct dictionary after parsing.
Definition at line 148 of file IdDictMgr.cxx.
◆ set_do_checks()
| void IdDictMgr::set_do_checks |
( |
bool | do_checks | ) |
|
Definition at line 67 of file IdDictMgr.cxx.
67 {
71 }
72}
bool do_checks() const
Check whether or not to do checks for ids.
◆ set_do_neighbours()
| void IdDictMgr::set_do_neighbours |
( |
bool | do_neighbours | ) |
|
Definition at line 79 of file IdDictMgr.cxx.
79 {
83 }
84}
bool do_neighbours() const
Check whether or not to init neighbours.
◆ set_DTD_version()
| void IdDictMgr::set_DTD_version |
( |
const std::string & | DTD_version | ) |
|
Definition at line 102 of file IdDictMgr.cxx.
102 {
104}
const std::string & DTD_version() const
DTD version.
◆ tag()
| const std::string & IdDictMgr::tag |
( |
| ) |
const |
◆ verify()
| bool IdDictMgr::verify |
( |
| ) |
const |
Definition at line 193 of file IdDictMgr.cxx.
193 {
195 if (!
p.second->verify())
return(
false);
196 }
197
198 return(true);
199}
◆ m_dictionaries
◆ m_do_checks
| bool IdDictMgr::m_do_checks |
|
private |
◆ m_do_neighbours
| bool IdDictMgr::m_do_neighbours |
|
private |
◆ m_DTD_version
| std::string IdDictMgr::m_DTD_version |
|
private |
◆ m_generated_implementation
| bool IdDictMgr::m_generated_implementation |
|
private |
◆ m_metadata
◆ m_resolved_references
| bool IdDictMgr::m_resolved_references |
|
private |
◆ m_subdictionary_names
| std::set<std::string> IdDictMgr::m_subdictionary_names |
|
private |
◆ m_tag
| std::string IdDictMgr::m_tag |
|
private |
The documentation for this class was generated from the following files: