COOPY » Guide
version 0.6.5
|
#include <Property.h>
Public Member Functions | |
virtual | ~Value () |
virtual int | asInt () const |
virtual bool | asBoolean () const |
virtual std::string | asString () const |
virtual Property & | asMap () |
virtual const Property & | asMap () 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 () |
Definition at line 19 of file Property.h.
virtual coopy::store::Value::~Value | ( | ) | [inline, virtual] |
Definition at line 21 of file Property.h.
int coopy::store::RefCount::addReference | ( | ) | [inline, inherited] |
Definition at line 30 of file RefCount.h.
Referenced by coopy::store::PolyBook::attach(), coopy::fold::FoldedCell::FoldedCell(), coopy::fold::FoldedCell::getOrCreateSheet(), coopy::store::PolyBook::operator=(), coopy::store::PolyValue::operator=(), coopy::store::PolySheet::operator=(), coopy::fold::FoldedCell::operator=(), coopy::store::PolyBook::PolyBook(), coopy::store::PolySheet::PolySheet(), coopy::store::PolyValue::PolyValue(), coopy::store::PolySheet::setSchema(), and coopy::store::PolyBook::take().
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] |
Reimplemented in coopy::store::PolyValue.
Definition at line 23 of file Property.h.
Referenced by coopy::store::PolyValue::asInt(), coopy::store::remotesql::RemoteSqlTextBook::open(), renderJsonBook(), coopy::store::SheetStyle::setFromProperty(), and write().
Property & Value::asMap | ( | ) | [virtual] |
Reimplemented in coopy::store::Property.
Definition at line 17 of file Property.cpp.
References coopy::store::Property::getNullProperty().
Referenced by coopy::store::sqlite::SqliteTextBook::read().
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] |
Reimplemented in coopy::store::PolyValue.
Definition at line 25 of file Property.h.
Referenced by coopy::store::PolyValue::asString(), coopy::store::PolyBook::attach(), coopy::store::TextBook::copy(), copyBook(), coopy::store::PolyBook::expand(), coopy::store::sqlite::SqliteTextBook::open(), coopy::store::socialcalc::SocialCalcTextBook::open(), coopy::store::remotesql::RemoteSqlTextBook::open(), coopy::store::mdb::JackTextBook::open(), coopy::store::gnumeric::GnumericTextBookFactory::open(), coopy::store::ShortTextBook::open(), coopy::store::json::JsonBook::open(), coopy::store::json::JsonBookFactory::open(), coopy::store::CsvTextBookFactory::open(), coopy::store::FileIO::open(), coopy::store::mdb::AccessTextBook::open(), coopy::store::FileIO::openAndWrite(), coopy::store::sqlite::SqliteTextBook::read(), coopy::store::SheetStyle::setFromProperty(), and write().
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] |
Definition at line 35 of file RefCount.h.
Referenced by coopy::store::PolyBook::clear(), coopy::store::PolyValue::clear(), coopy::store::PolySheet::clearSchema(), coopy::store::PolySheet::clearSheet(), and coopy::store::PolyBook::give().
virtual std::string coopy::store::Value::toString | ( | ) | const [pure virtual] |
Implemented in coopy::store::PolyValue, and coopy::store::Property.
Referenced by coopy::store::PolyValue::toString().