EvolvingObjects
eoserial::Entity Class Reference

JSON entity. More...

#include <Entity.h>

Inheritance diagram for eoserial::Entity:
eoserial::Array eoserial::Object eoserial::String

List of all members.

Public Member Functions

virtual ~Entity ()
 Virtual dtor (base class).
virtual std::ostream & print (std::ostream &out) const =0
 Prints the content of a JSON object into a stream.

Detailed Description

JSON entity.

This class represents a JSON entity, which can be JSON objects, strings or arrays. It is the base class for the JSON hierarchy.

Definition at line 52 of file Entity.h.


Member Function Documentation

virtual std::ostream& eoserial::Entity::print ( std::ostream &  out) const [pure virtual]

Prints the content of a JSON object into a stream.

Parameters:
outThe stream in which we're printing.

Implemented in eoserial::Array, eoserial::Object, and eoserial::String.


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