Logo Search packages:      
Sourcecode: jaula version File versions

JAULA::Value_Complex Class Reference
[JAULA: JSON Values containers]

#include <jaula_value_complex.h>

Inheritance diagram for JAULA::Value_Complex:

JAULA::Value JAULA::Value_Array JAULA::Value_Object

List of all members.

Detailed Description

Base class for handling complex values.

This class defines an abstract base class for JSON complex values (values which are an aggregation of other values)
Kombo Morongo <morongo666@gmail.com>

Definition at line 52 of file jaula_value_complex.h.

Public Types

enum  ValueType {
 Enumeration of available value types. More...

Public Member Functions

virtual void clear (void)=0
 Empties the contents of an instance.
virtual bool empty (void) const =0
 True if the instance is empty.
ValueType getType (void) const
 Retrieves the value type for the instance.
virtual void repr (std::ostream &ostr) const =0
 Represents the instance in a stream.
virtual void set (Value const &origin) throw (Bad_Data_Type)
 Copies the contents of one instance into another.
virtual size_t size (void) const =0
 Number of elements contained.
virtual ~Value_Complex ()

Static Public Member Functions

static Valueduplicate (Value const &orig)
 Creates a duplicate of a value.

Protected Member Functions

 Value_Complex (ValueType Type)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index