DCMTK Version 3.6.7
OFFIS DICOM Toolkit
|
Helper class to create XML files using "printf", "fprintf", "cout",... functions. More...
Static Public Member Functions | |
static XMLSTR | toXMLUnSafe (XMLSTR dest, XMLCSTR source) |
The "toXMLUnSafe" function is deprecated because there is a possibility of "destination-buffer-overflow". More... | |
static int | lengthXMLString (XMLCSTR source) |
deprecated: use "toXML" instead | |
Helper class to create XML files using "printf", "fprintf", "cout",... functions.
The ToXMLStringTool class helps you creating XML files using "printf", "fprintf", "cout",... functions. The "ToXMLStringTool" class is processing strings so that all the characters &,",',<,> are replaced by their XML equivalent: @verbatim &, ", ', <, > \endverbatim Using the "ToXMLStringTool class" and the "fprintf function" is THE most efficient way to produce VERY large XML documents VERY fast. \note If you are creating from scratch an XML file using the provided XMLNode class you must not use the "ToXMLStringTool" class (because the "XMLNode" class does the processing job for you during rendering).
|
static |
The "toXMLUnSafe" function is deprecated because there is a possibility of "destination-buffer-overflow".
It converts the string "source" to the string "dest". deprecated: use "toXML" instead