COOPY » Guide  version 0.6.5
Public Member Functions
coopy::store::Value Class Reference

#include <Property.h>

Inheritance diagram for coopy::store::Value:
coopy::store::RefCount coopy::store::PolyValue coopy::store::Property

Public Member Functions

virtual ~Value ()
virtual int asInt () const
virtual bool asBoolean () const
virtual std::string asString () const
virtual PropertyasMap ()
virtual const PropertyasMap () const
virtual bool isInt () const
virtual bool isBoolean () const
virtual bool isString () const
virtual bool isMap () const
virtual bool isNull () const
virtual std::string toString () const =0
int addReference ()
int removeReference ()
int getReferenceCount ()

Detailed Description

Definition at line 19 of file Property.h.


Constructor & Destructor Documentation

virtual coopy::store::Value::~Value ( ) [inline, virtual]

Definition at line 21 of file Property.h.


Member Function Documentation

int coopy::store::RefCount::addReference ( ) [inline, inherited]
virtual bool coopy::store::Value::asBoolean ( ) const [inline, virtual]

Reimplemented in coopy::store::PolyValue.

Definition at line 24 of file Property.h.

Referenced by coopy::store::PolyValue::asBoolean(), coopy::store::PolyBook::attach(), and write().

virtual int coopy::store::Value::asInt ( ) const [inline, virtual]
Property & Value::asMap ( ) [virtual]
const Property & Value::asMap ( ) const [virtual]

Reimplemented in coopy::store::Property.

Definition at line 21 of file Property.cpp.

References coopy::store::Property::getNullProperty().

virtual std::string coopy::store::Value::asString ( ) const [inline, virtual]
int coopy::store::RefCount::getReferenceCount ( ) [inline, inherited]

Definition at line 40 of file RefCount.h.

virtual bool coopy::store::Value::isBoolean ( ) const [inline, virtual]

Reimplemented in coopy::store::PolyValue.

Definition at line 30 of file Property.h.

Referenced by coopy::store::PolyValue::isBoolean().

virtual bool coopy::store::Value::isInt ( ) const [inline, virtual]

Reimplemented in coopy::store::PolyValue.

Definition at line 29 of file Property.h.

Referenced by coopy::store::PolyValue::isInt().

virtual bool coopy::store::Value::isMap ( ) const [inline, virtual]

Reimplemented in coopy::store::Property.

Definition at line 32 of file Property.h.

virtual bool coopy::store::Value::isNull ( ) const [inline, virtual]

Reimplemented in coopy::store::PolyValue, and coopy::store::Property.

Definition at line 34 of file Property.h.

Referenced by coopy::store::PolyValue::isNull().

virtual bool coopy::store::Value::isString ( ) const [inline, virtual]

Reimplemented in coopy::store::PolyValue.

Definition at line 31 of file Property.h.

Referenced by coopy::store::PolyValue::isString().

int coopy::store::RefCount::removeReference ( ) [inline, inherited]
virtual std::string coopy::store::Value::toString ( ) const [pure virtual]

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines