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

Method clear

lib_acl_cpp/src/stdlib/xml.cpp:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void xml_node::clear()
25{
26 std::vector<xml_node*>::iterator it = nodes_tmp_.begin();
27 for (; it != nodes_tmp_.end(); ++it) {
28 delete *it;
29 }
30 nodes_tmp_.clear();
31
32 std::vector<xml_attr*>::iterator it2 = attrs_tmp_.begin();
33 for (; it2 != attrs_tmp_.end(); ++it2) {
34 delete *it2;
35 }
36 attrs_tmp_.clear();
37}
38
39xml& xml_node::get_xml() const
40{

Callers 15

acl_cpp_verboseFunction · 0.45
broadcastMethod · 0.45
check_idleMethod · 0.45
createMethod · 0.45
openMethod · 0.45
move_fileMethod · 0.45
set_queueNameMethod · 0.45
set_extNameMethod · 0.45
queue_managerMethod · 0.45
parse_filePathMethod · 0.45
parse_pathMethod · 0.45
scan_nextMethod · 0.45

Calls 3

beginMethod · 0.80
dbuf_resetMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected