MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / text

Method text

DAEValidator/library/src/XmlNode.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 string XmlNode::text() const
58 {
59 for (xmlNodePtr node = mNode->children; node; node = node->next)
60 {
61 if (node->type == XML_TEXT_NODE)
62 {
63 return reinterpret_cast<const XmlChar*>(node->content);
64 }
65 }
66 return string();
67 }
68
69 string XmlNode::name() const
70 {

Callers 2

readFileMethod · 0.80
TEST_METHODFunction · 0.80

Calls 1

stringClass · 0.85

Tested by 1

TEST_METHODFunction · 0.64