Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/serial2/serial.h>
Public Member Functions | |
virtual | ~ExternalSolver (void) |
void * | solve (string ref) |
string | ref (void *object) |
Static Public Attributes | |
static ExternalSolver | null |
The external solver is used by Serializer and Unserializer classes to solve reference to object out of the scope the currently serialized / unserialized object.
For serializing, the solver provides references to object that does not need to be serialized but a reference is obtained and stored instead.
For unserializing, this solver provide pointer to object internal to the user application and that are linked with unserialized objects. When a reference cannot be solved, it is considered as being provided by the application and the solver is called for solving it.
Its default implementation considers there is not external object.
|
virtual |
Test if the given object is an external object and return its reference.
object | Object to test for. |
Try to resolve an external reference.
ref | Reference to resolve. |
Referenced by XOMUnserializer::flush().
|
static |
Null external solver.