EvolvingObjects
eoserial::Printable Class Reference

Interface showing that object can be written to a eoserial type (currently JSON). More...

#include <Serializable.h>

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

List of all members.

Public Member Functions

virtual eoserial::Objectpack () const =0
 Serializes the object to JSON format.

Detailed Description

Interface showing that object can be written to a eoserial type (currently JSON).

Definition at line 35 of file Serializable.h.


Member Function Documentation

virtual eoserial::Object* eoserial::Printable::pack ( ) const [pure virtual]

Serializes the object to JSON format.

Returns:
A JSON object created with new.

Referenced by eoserial::Object::add(), and eoserial::Array::push_back().


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