UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
ixmldebug.cpp File Reference
#include <ixml/ixmldebug.hpp>
#include <cstdarg>
#include <cstdio>
+ Include dependency graph for ixmldebug.cpp:

Go to the source code of this file.

Functions

void IxmlPrintf (const char *DbgFileName, int DbgLineNo, const char *FunctionName, const char *FmtStr,...)
 Prints the debug statement either on the standard output or log file along with the information from where this debug statement is coming.
 
void printNodes (IXML_Node *tmpRoot, int depth)
 Print the node names and values of a XML tree.
 

Function Documentation

◆ IxmlPrintf()

void IxmlPrintf ( const char *  DbgFileName,
int  DbgLineNo,
const char *  FunctionName,
const char *  FmtStr,
  ... 
)

Prints the debug statement either on the standard output or log file along with the information from where this debug statement is coming.

Parameters
[in]DbgFileNameThe file name, usually FILE.
[in]DbgLineNoThe line number, usually LINE or a variable that got the LINE at the appropriate place.
[in]FunctionNameThe function name.
[in]FmtStrPrintf like format specification.
[in]...Printf like Variable number of arguments that will go in the debug statement.

Definition at line 13 of file ixmldebug.cpp.

+ Here is the caller graph for this function:

◆ printNodes()

void printNodes ( IXML_Node tmpRoot,
int  depth 
)

Print the node names and values of a XML tree.

Parameters
[in]tmpRootThe root of the tree to print.
[in]depthThe depth to print.

Definition at line 31 of file ixmldebug.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: