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

Function attr_print

lib_acl_cpp/samples/xml/xml5/main.cpp:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "stdafx.h"
2
3static void attr_print(const acl::xml_attr& attr, int depth)
4{
5 for (int i = 0; i < depth; i++)
6 printf("\t");
7
8 printf("%s=\"%s\"\r\n", attr.get_name(), attr.get_value());
9}
10
11static void node_attr_print(const acl::xml_node& node, int depth)
12{

Callers 1

node_attr_printFunction · 0.70

Calls 2

get_nameMethod · 0.45
get_valueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…