EvolvingObjects
eoserial::Persistent Class Reference

Interface showing that object can be eoserialized (written and read from an input). More...

#include <Serializable.h>

Inheritance diagram for eoserial::Persistent:
eoserial::Printable

List of all members.

Public Member Functions

virtual void unpack (const eoserial::Object *json)=0
 Loads class fields from a JSON object.

Detailed Description

Interface showing that object can be eoserialized (written and read from an input).

Note : Persistent objects should have a default non-arguments constructor.

Definition at line 53 of file Serializable.h.


Member Function Documentation

virtual void eoserial::Persistent::unpack ( const eoserial::Object json) [pure virtual]

Loads class fields from a JSON object.

Parameters:
jsonA JSON object. Programmer doesn't have to delete it, it is automatically done.

Referenced by eoserial::Object::deserialize().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends