MCPcopy Create free account
hub / github.com/cinder/Cinder / print_declaration_node

Function print_declaration_node

include/rapidxml/rapidxml_print.hpp:248–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 // Print declaration node
247 template<class OutIt, class Ch>
248 inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent)
249 {
250 // Print declaration start
251 if (!(flags & print_no_indenting))
252 out = fill_chars(out, indent, Ch('\t'));
253 *out = Ch('<'), ++out;
254 *out = Ch('?'), ++out;
255 *out = Ch('x'), ++out;
256 *out = Ch('m'), ++out;
257 *out = Ch('l'), ++out;
258
259 // Print attributes
260 out = print_attributes(out, node, flags);
261
262 // Print declaration end
263 *out = Ch('?'), ++out;
264 *out = Ch('>'), ++out;
265
266 return out;
267 }
268
269 // Print comment node
270 template<class OutIt, class Ch>

Callers 1

print_nodeFunction · 0.85

Calls 2

fill_charsFunction · 0.85
print_attributesFunction · 0.85

Tested by

no test coverage detected