MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / Dump

Method Dump

xmpsdk/src/XML_Node.cpp:242–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240//===============
241
242void XML_Node::Dump ( std::string * buffer )
243{
244
245 *buffer = "Dump of XML_Node tree\n";
246
247 *buffer += "Root info: name=\"";
248 *buffer += this->name;
249 *buffer += "\", value=\"";
250 *buffer += this->value;
251 *buffer += "\", ns=\"";
252 *buffer += this->ns;
253 *buffer += "\", kind=";
254 *buffer += kNodeKinds[this->kind];
255 *buffer += "\n";
256
257 if ( ! this->attrs.empty() ) {
258 *buffer += " attrs:\n";
259 DumpNodeList ( buffer, this->attrs, 2 );
260 }
261 *buffer += "\n";
262
263 DumpNodeList ( buffer, this->content, 0 );
264
265} // XML_Node::Dump
266
267// =================================================================================================
268// SerializeOneNode

Callers

nothing calls this directly

Calls 2

DumpNodeListFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected