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

Method first_node

lib_acl_cpp/src/stdlib/xml2.cpp:510–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510xml_node* xml2::first_node()
511{
512 if (iter_ == NULL) {
513 iter_ = (ACL_ITER*) acl_mymalloc(sizeof(ACL_ITER));
514 }
515
516 ACL_XML2_NODE* node = xml_->iter_head(iter_, xml_);
517 if (node == NULL) {
518 return NULL;
519 }
520
521 xml2_node* n = dbuf_.create<xml2_node, xml2*, ACL_XML2_NODE*>
522 (this, node);
523 return n;
524}
525
526xml_node* xml2::next_node()
527{

Callers 15

do_xmlMethod · 0.45
do_jsonMethod · 0.45
do_xmlMethod · 0.45
do_jsonMethod · 0.45
do_xmlMethod · 0.45
do_jsonMethod · 0.45
testFunction · 0.45
testFunction · 0.45
test2Function · 0.45
do_xmlMethod · 0.45
do_jsonMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected