MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / Node

Method Node

tools/xml2cpp-codegen/xml.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35Node::Node(const char *n, const char **a)
36: name(n)
37{
38 if (a)
39 {
40 for (int i = 0; a[i]; i += 2)
41 {
42 m_attrs[a[i]] = a[i + 1];
43 }
44 }
45}
46
47Nodes Nodes::operator[](const std::string& key) const
48{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected