MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / createChild

Method createChild

libs/xmlutil/Node.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37Node Node::createChild(const std::string& name)
38{
39 std::lock_guard lock(_owner->getLock());
40
41 // Create a new child under the contained node
42 auto newChild = _xmlNode.append_child(name.c_str());
43
44 // Create a new xml::Node out of this pointer and return it
45 return Node(_owner, newChild);
46}
47
48NodeList Node::getNamedChildren(const std::string& name) const
49{

Callers 15

visitMethod · 0.80
saveToolMappingsMethod · 0.80
ShowModalMethod · 0.80
saveStateMethod · 0.80
saveStateToRegistryMethod · 0.80
saveToRegistryMethod · 0.80
TEST_FFunction · 0.80
createKeyWithNameMethod · 0.80
createKeyMethod · 0.80
beginWriteMapMethod · 0.80
beginWriteEntityMethod · 0.80
beginWriteBrushMethod · 0.80

Calls 3

append_childMethod · 0.80
NodeClass · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected