| 33 | } |
| 34 | |
| 35 | Node::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 | |
| 47 | Nodes Nodes::operator[](const std::string& key) const |
| 48 | { |
nothing calls this directly
no outgoing calls
no test coverage detected