A class that formats strings. More...
#include <XMLFormatter.h>
Static Public Member Functions | |
static void | format (ProjectMetadata *p, const std::list< te::map::AbstractLayerPtr > &layers, const bool &encode) |
Formats the project informations. More... | |
A class that formats strings.
Use this class for changing strings, contained in some TerraLib objects, to XML percentage encode format and/or to human readable format. Use XML formatting before serializing the object to a XML file, for example, and human readable format after read the object from a XML.
Definition at line 57 of file XMLFormatter.h.
|
static |
Formats the project informations.
p | The project. |
encode | Pass true to change for XML percentage format and false for human readable format. |