MCPcopy Create free account
hub / github.com/RenderKit/embree / hasChild

Method hasChild

tutorials/common/scenegraph/xml_parser.h:20–25  ·  view source on GitHub ↗

! checks if child with specified node tag exists */

Source from the content-addressed store, hash-verified

18
19 /*! checks if child with specified node tag exists */
20 bool hasChild(const std::string& childID) const
21 {
22 for (size_t i=0; i<children.size(); i++)
23 if (children[i]->name == childID) return true;
24 return false;
25 }
26
27 /*! returns a parameter of the XML node */
28 std::string parm(const std::string& parmID) const {

Callers 5

loadMaterialMethod · 0.80
loadTriangleMeshMethod · 0.80
loadSubdivMeshMethod · 0.80
loadBezierCurvesMethod · 0.80
loadCurvesMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected