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

Function print_attrs

lib_acl_cpp/samples/xml/xml2/xml.cpp:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static void print_attrs(acl::xml_node& node)
52{
53 const acl::xml_attr* iter = node.first_attr();
54
55 if (iter != NULL)
56 printf("; attrs:");
57
58 while (iter)
59 {
60 printf(" %s=%s;", iter->get_name(), iter->get_value());
61 iter = node.next_attr();
62 }
63}
64
65static void test2()
66{

Callers 1

test2Function · 0.85

Calls 4

first_attrMethod · 0.45
get_nameMethod · 0.45
get_valueMethod · 0.45
next_attrMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…