MCPcopy Create free account
hub / github.com/acl-dev/acl / getElementById

Method getElementById

lib_acl_cpp/src/stdlib/xml2.cpp:458–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458xml_node* xml2::getElementById(const char* id) const
459{
460 ACL_XML2_NODE* node = acl_xml2_getElementById(xml_, id);
461 if (node == NULL) {
462 return NULL;
463 }
464
465 xml2_node* n = const_cast<dbuf_guard&>(dbuf_)
466 .create<xml2_node, xml2*, ACL_XML2_NODE*>
467 (const_cast<xml2*>(this), node);
468 return n;
469}
470
471const acl::string& xml2::getText()
472{

Callers 7

bcFunction · 0.45
highcharts.jsFile · 0.45
canvas-tools.jsFile · 0.45
data.jsFile · 0.45
data.src.jsFile · 0.45

Calls 1

acl_xml2_getElementByIdFunction · 0.85

Tested by

no test coverage detected