COOPY » Guide
version 0.6.5
|
Cache for row insertion. More...
#include <DataSheet.h>
Public Member Functions | |
CacheSheetRow (DataSheet *sheet) | |
virtual SheetCell | getCell (int x) const |
virtual bool | setCell (int x, const SheetCell &c) |
virtual bool | invent (int x) |
virtual bool | flush () |
SheetCell | getResult () |
virtual RowRef | getRowAfterFlush () |
virtual bool | undo () |
virtual bool | setDelta (int dh) |
int | addReference () |
int | removeReference () |
int | getReferenceCount () |
Data Fields | |
int | delta |
Protected Attributes | |
RowCache | cache |
SheetCell | result |
DataSheet * | sheet |
Cache for row insertion.
Definition at line 468 of file DataSheet.h.
coopy::store::CacheSheetRow::CacheSheetRow | ( | DataSheet * | sheet | ) | [inline] |
Definition at line 474 of file DataSheet.h.
References sheet.
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::CacheSheetRow::flush | ( | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 494 of file DataSheet.h.
References coopy::store::DataSheet::applyRowCache(), cache, result, and sheet.
virtual SheetCell coopy::store::CacheSheetRow::getCell | ( | int | x | ) | const [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 479 of file DataSheet.h.
int coopy::store::RefCount::getReferenceCount | ( | ) | [inline, inherited] |
Definition at line 40 of file RefCount.h.
SheetCell coopy::store::CacheSheetRow::getResult | ( | ) | [inline] |
Definition at line 498 of file DataSheet.h.
References result.
virtual RowRef coopy::store::CacheSheetRow::getRowAfterFlush | ( | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 502 of file DataSheet.h.
References coopy::store::SheetCell::asInt(), coopy::store::SheetRow::delta, coopy::store::SheetCell::escaped, and result.
virtual bool coopy::store::CacheSheetRow::invent | ( | int | x | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 489 of file DataSheet.h.
References cache, and coopy::store::RowCache::invent.
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 bool coopy::store::CacheSheetRow::setCell | ( | int | x, |
const SheetCell & | c | ||
) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 483 of file DataSheet.h.
References cache, coopy::store::RowCache::cells, and coopy::store::RowCache::flags.
virtual bool coopy::store::SheetRow::setDelta | ( | int | dh | ) | [inline, virtual, inherited] |
Definition at line 418 of file DataSheet.h.
References coopy::store::SheetRow::delta.
virtual bool coopy::store::CacheSheetRow::undo | ( | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 508 of file DataSheet.h.
RowCache coopy::store::CacheSheetRow::cache [protected] |
Definition at line 470 of file DataSheet.h.
int coopy::store::SheetRow::delta [inherited] |
Definition at line 404 of file DataSheet.h.
Referenced by getRowAfterFlush(), coopy::store::OrderedSheetRow::getRowAfterFlush(), coopy::store::SheetRow::setDelta(), and coopy::store::SheetRow::SheetRow().
SheetCell coopy::store::CacheSheetRow::result [protected] |
Definition at line 471 of file DataSheet.h.
Referenced by flush(), getResult(), and getRowAfterFlush().
DataSheet* coopy::store::CacheSheetRow::sheet [protected] |
Definition at line 472 of file DataSheet.h.
Referenced by CacheSheetRow(), and flush().