Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/serial2/XOMSerializer.h>
Public Member Functions | |
XOMSerializer (const sys::Path &path) | |
~XOMSerializer (void) | |
Public Member Functions inherited from XOMElementSerializer | |
XOMElementSerializer (xom::Element *top) | |
virtual | ~XOMElementSerializer (void) |
ExternalSolver & | solver (void) const |
void | setSolver (ExternalSolver &solver) |
virtual void | flush (void) |
virtual void | beginObject (const rtti::Type &clazz, const void *object) |
virtual void | endObject (const rtti::Type &clazz, const void *object) |
virtual void | beginField (CString name) |
virtual void | endField (void) |
virtual void | onPointer (const rtti::Type &clazz, const void *object) |
virtual void | beginCompound (const void *) |
virtual void | endCompound (const void *) |
virtual void | onEnum (const void *address, int value, const rtti::Type &clazz) |
virtual void | onValue (const bool &v) |
virtual void | onValue (const signed int &v) |
virtual void | onValue (const unsigned int &v) |
virtual void | onValue (const char &v) |
virtual void | onValue (const signed char &v) |
virtual void | onValue (const unsigned char &v) |
virtual void | onValue (const signed short &v) |
virtual void | onValue (const unsigned short &v) |
virtual void | onValue (const signed long &v) |
virtual void | onValue (const unsigned long &v) |
virtual void | onValue (const signed long long &v) |
virtual void | onValue (const unsigned long long &v) |
virtual void | onValue (const float &v) |
virtual void | onValue (const double &v) |
virtual void | onValue (const long double &v) |
virtual void | onValue (const CString &v) |
virtual void | onValue (const String &v) |
virtual void | onItem (void) |
Public Member Functions inherited from Serializer | |
virtual | ~Serializer (void) |
A specialization of class XOMElementSerializer, the obtained XML element zerialized is saved to a file.
XOMSerializer | ( | const sys::Path & | path | ) |
Build a serializer to the given XOM document.
path | Path document to serialize to. |
~XOMSerializer | ( | void | ) |
References XOMElementSerializer::flush(), Serializer::flush(), and Serializer::write().