| 86 | } |
| 87 | |
| 88 | MetadataNodeImplPtr add(const std::string& name) |
| 89 | { |
| 90 | MetadataNodeImplPtr sub(new MetadataNodeImpl(name)); |
| 91 | MetadataImplList& l = m_subnodes[name]; |
| 92 | l.push_back(sub); |
| 93 | if (l.size() > 1) |
| 94 | makeArray(l); |
| 95 | return sub; |
| 96 | } |
| 97 | |
| 98 | MetadataNodeImplPtr addList(const std::string& name) |
| 99 | { |
no test coverage detected