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

Method first_child

lib_acl_cpp/src/stdlib/xml2.cpp:184–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184xml_node* xml2_node::first_child()
185{
186 if (child_iter_ == NULL) {
187 child_iter_ = (ACL_ITER*) acl_mymalloc(sizeof(ACL_ITER));
188 }
189
190 ACL_XML2_NODE* node = node_->iter_head(child_iter_, node_);
191 if (node == NULL) {
192 return NULL;
193 }
194
195 xml2_node* n = NEW xml2_node(xml_, node);
196 nodes_tmp_.push_back(n);
197
198 return n;
199}
200
201xml_node* xml2_node::next_child()
202{

Callers 15

testFunction · 0.45
xml_node_walkFunction · 0.45
mainFunction · 0.45
testFunction · 0.45
xml_node_walkFunction · 0.45
mainFunction · 0.45
testFunction · 0.45
testFunction · 0.45
list_printFunction · 0.45
testFunction · 0.45
mainFunction · 0.45
create_masterMethod · 0.45

Calls 2

xml2_nodeClass · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected