Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
XOMSerializer Class Reference

#include <elm/serial2/XOMSerializer.h>

+ Inheritance diagram for XOMSerializer:

Public Member Functions

 XOMSerializer (const sys::Path &path)
 
 ~XOMSerializer (void)
 
- Public Member Functions inherited from XOMElementSerializer
 XOMElementSerializer (xom::Element *top)
 
virtual ~XOMElementSerializer (void)
 
ExternalSolversolver (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)
 

Detailed Description

A specialization of class XOMElementSerializer, the obtained XML element zerialized is saved to a file.

Constructor & Destructor Documentation

◆ XOMSerializer()

XOMSerializer ( const sys::Path path)

Build a serializer to the given XOM document.

Parameters
pathPath document to serialize to.

◆ ~XOMSerializer()


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