COOPY » Guide
version 0.6.5
|
Reference-counted objects. More...
#include <RefCount.h>
Public Member Functions | |
RefCount () | |
virtual | ~RefCount () |
int | addReference () |
int | removeReference () |
int | getReferenceCount () |
Reference-counted objects.
Bare-bones implementation to avoid introducing dependency on boost or tr1
Definition at line 19 of file RefCount.h.
coopy::store::RefCount::RefCount | ( | ) | [inline] |
Definition at line 23 of file RefCount.h.
virtual coopy::store::RefCount::~RefCount | ( | ) | [inline, virtual] |
Definition at line 27 of file RefCount.h.
int coopy::store::RefCount::addReference | ( | ) | [inline] |
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().
int coopy::store::RefCount::getReferenceCount | ( | ) | [inline] |
Definition at line 40 of file RefCount.h.
int coopy::store::RefCount::removeReference | ( | ) | [inline] |
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().