Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Static Public Member Functions | Protected Member Functions | List of all members
XMLWriterFile Class Reference

#include <XMLWriterFile.h>

Static Public Member Functions

static bool WriteFile (const kstl::string &, XML &xml)
 write the given xml hierarchy in a file
static void WriteString (XML &xml, kstl::string &Result, bool header=true, bool compress=false)
 write the given xml hierarchy in a memory file (string)

Protected Member Functions

 XMLWriterFile ()=default
void appendString (kstl::string &sAppend, bool isElementText=false)
 utility method
void writeHeader (XML &xml)
 utility method to write the xml file header
void writeNode (XMLNode *node, int tab)
 utility to write the given node (recursive)

Detailed Description

Write an XML file from an XML structure.

The documentation for this class was generated from the following files: