COOPY » Guide  version 0.6.5
Public Member Functions | Data Fields | Protected Attributes
coopy::store::CacheSheetRow Class Reference

Cache for row insertion. More...

#include <DataSheet.h>

Inheritance diagram for coopy::store::CacheSheetRow:
coopy::store::SheetRow coopy::store::RefCount

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
DataSheetsheet

Detailed Description

Cache for row insertion.

Definition at line 468 of file DataSheet.h.


Constructor & Destructor Documentation

coopy::store::CacheSheetRow::CacheSheetRow ( DataSheet sheet) [inline]

Definition at line 474 of file DataSheet.h.

References sheet.


Member Function Documentation

int coopy::store::RefCount::addReference ( ) [inline, inherited]
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]
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]
virtual bool coopy::store::CacheSheetRow::setCell ( int  x,
const SheetCell c 
) [inline, virtual]
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.


Field Documentation

Definition at line 470 of file DataSheet.h.

Referenced by flush(), invent(), and setCell().

Definition at line 471 of file DataSheet.h.

Referenced by flush(), getResult(), and getRowAfterFlush().

Definition at line 472 of file DataSheet.h.

Referenced by CacheSheetRow(), and flush().


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