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

Method childOpt

tutorials/common/scenegraph/xml_parser.h:68–73  ·  view source on GitHub ↗

! returns child by node tag without failing */

Source from the content-addressed store, hash-verified

66
67 /*! returns child by node tag without failing */
68 const Ref<XML> childOpt(const std::string& childID) const
69 {
70 for (size_t i=0; i<children.size(); i++)
71 if (children[i]->name == childID) return children[i];
72 return null;
73 }
74
75 /*! adds a new parameter to the node */
76 Ref<XML> add(const std::string& name, const std::string& val) {

Callers 8

loadTriangleMeshMethod · 0.80
loadQuadMeshMethod · 0.80
loadGridMeshMethod · 0.80
loadSubdivMeshMethod · 0.80
loadBezierCurvesMethod · 0.80
loadCurvesMethod · 0.80
loadPointsMethod · 0.80
loadBGFMeshMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected