COOPY » Guide
version 0.6.5
|
#include <DataSheet.h>
Public Member Functions | |
OrderedSheetRow () | |
OrderedSheetRow (DataSheet *sheet, int y) | |
virtual SheetCell | getCell (int x) const |
virtual bool | setCell (int x, const SheetCell &c) |
virtual bool | invent (int x) |
virtual bool | flush () |
virtual RowRef | getRowAfterFlush () |
virtual bool | undo () |
virtual bool | setDelta (int dh) |
int | addReference () |
int | removeReference () |
int | getReferenceCount () |
Data Fields | |
int | delta |
Protected Attributes | |
int | y |
DataSheet * | sheet |
Definition at line 428 of file DataSheet.h.
coopy::store::OrderedSheetRow::OrderedSheetRow | ( | ) | [inline] |
Definition at line 433 of file DataSheet.h.
coopy::store::OrderedSheetRow::OrderedSheetRow | ( | DataSheet * | sheet, |
int | y | ||
) | [inline] |
Definition at line 438 of file DataSheet.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::OrderedSheetRow::flush | ( | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 451 of file DataSheet.h.
virtual SheetCell coopy::store::OrderedSheetRow::getCell | ( | int | x | ) | const [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 441 of file DataSheet.h.
References coopy::store::DataSheet::cellSummary(), sheet, and y.
int coopy::store::RefCount::getReferenceCount | ( | ) | [inline, inherited] |
Definition at line 40 of file RefCount.h.
virtual RowRef coopy::store::OrderedSheetRow::getRowAfterFlush | ( | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 455 of file DataSheet.h.
References coopy::store::SheetRow::delta, and y.
bool OrderedSheetRow::invent | ( | int | x | ) | [virtual] |
Implements coopy::store::SheetRow.
Definition at line 234 of file DataSheet.cpp.
References coopy::store::SheetCell::asInt(), coopy::store::DataSheet::cellSummary(), dbg_printf, coopy::store::DataSheet::height(), sheet, and y.
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::OrderedSheetRow::setCell | ( | int | x, |
const SheetCell & | c | ||
) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 445 of file DataSheet.h.
References coopy::store::DataSheet::cellSummary(), sheet, and y.
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::OrderedSheetRow::undo | ( | ) | [inline, virtual] |
Implements coopy::store::SheetRow.
Definition at line 459 of file DataSheet.h.
References coopy::store::DataSheet::deleteRow(), sheet, and y.
int coopy::store::SheetRow::delta [inherited] |
Definition at line 404 of file DataSheet.h.
Referenced by coopy::store::CacheSheetRow::getRowAfterFlush(), getRowAfterFlush(), coopy::store::SheetRow::setDelta(), and coopy::store::SheetRow::SheetRow().
DataSheet* coopy::store::OrderedSheetRow::sheet [protected] |
Definition at line 431 of file DataSheet.h.
Referenced by getCell(), invent(), OrderedSheetRow(), setCell(), and undo().
int coopy::store::OrderedSheetRow::y [protected] |
Definition at line 430 of file DataSheet.h.
Referenced by getCell(), getRowAfterFlush(), invent(), OrderedSheetRow(), setCell(), and undo().