OpenASIP
2.0
|
#include <Serializer.hh>
Public Member Functions | |
virtual void | writeState (const ObjectState *state)=0 |
virtual ObjectState * | readState ()=0 |
virtual | ~Serializer () |
All serializers must implement this interface.
Definition at line 45 of file Serializer.hh.
|
inlinevirtual |
Definition at line 63 of file Serializer.hh.
|
pure virtual |
Creates an ObjectState tree according to the input.
SerializerException | If an error occurs while reading input. |
Implemented in XMLSerializer, GUIOptionsSerializer, IPXactSerializer, ADFSerializer, OperationSerializer, IDF::IDFSerializer, OSEdOptionsSerializer, and BEMSerializer.
|
pure virtual |
Serializes the given ObjectState tree.
state | Root of the ObjectState tree. |
SerializerException | If an error occurs while serializing. |
Implemented in OperationSerializer, IDF::IDFSerializer, BEMSerializer, OSEdOptionsSerializer, XMLSerializer, GUIOptionsSerializer, ADFSerializer, and IPXactSerializer.