OOFILE  1.9
Public Member Functions | Protected Attributes | List of all members
dbViewAsTableStorage Class Reference

Provide dbView as storage for a plain list control LTableView. More...

#include <oofppx.h>

Inheritance diagram for dbViewAsTableStorage:
Inheritance graph
[legend]
Collaboration diagram for dbViewAsTableStorage:
Collaboration graph
[legend]

Public Member Functions

 dbViewAsTableStorage (LTableView *inTableView, dbView *inView, unsigned short headingRows=0)
 
virtual Boolean FindCellData (STableCell &outCell, const void *inDataPtr, UInt32 inDataSize) const
 
virtual void GetCellData (const STableCell &inCell, void *outDataPtr, UInt32 &ioDataSize) const
 
virtual void GetStorageSize (TableIndexT &outRows, TableIndexT &outCols)
 
virtual void InsertCols (UInt32 inHowMany, TableIndexT inAfterCol, const void *inDataPtr, UInt32 inDataSize)
 
virtual void InsertRows (UInt32 inHowMany, TableIndexT inAfterRow, const void *inDataPtr, UInt32 inDataSize)
 
virtual void RemoveCols (UInt32 inHowMany, TableIndexT inFromCol)
 
virtual void RemoveRows (UInt32 inHowMany, TableIndexT inFromRow)
 
virtual void SetCellData (const STableCell &inCell, const void *inDataPtr, UInt32 inDataSize)
 
virtual ~dbViewAsTableStorage ()
 

Protected Attributes

unsigned short mHeadingRows
 
dbViewmView
 

Detailed Description

Provide dbView as storage for a plain list control LTableView.

Abstracts the data as an two-dimensional array where columns are fields in the view. Rows correspond to iterating the dbView through its records. Remember that a dbView can point to related fields or standalone fields to display constant or independently calculated data.

See also
dbCalculator Local variables compatible with database fields.

Definition at line 97 of file oofppx.h.

Constructor & Destructor Documentation

dbViewAsTableStorage::dbViewAsTableStorage ( LTableView *  inTableView,
dbView inView,
unsigned short  headingRows = 0 
)

Definition at line 974 of file oofpp.cpp.

virtual dbViewAsTableStorage::~dbViewAsTableStorage ( )
inlinevirtual

Definition at line 103 of file oofppx.h.

Member Function Documentation

Boolean dbViewAsTableStorage::FindCellData ( STableCell &  outCell,
const void *  inDataPtr,
UInt32  inDataSize 
) const
virtual
void dbViewAsTableStorage::GetCellData ( const STableCell &  inCell,
void *  outDataPtr,
UInt32 &  ioDataSize 
) const
virtual
void dbViewAsTableStorage::GetStorageSize ( TableIndexT &  outRows,
TableIndexT &  outCols 
)
virtual
void dbViewAsTableStorage::InsertCols ( UInt32  inHowMany,
TableIndexT  inAfterCol,
const void *  inDataPtr,
UInt32  inDataSize 
)
virtual

Definition at line 1085 of file oofpp.cpp.

void dbViewAsTableStorage::InsertRows ( UInt32  inHowMany,
TableIndexT  inAfterRow,
const void *  inDataPtr,
UInt32  inDataSize 
)
virtual

Definition at line 1071 of file oofpp.cpp.

void dbViewAsTableStorage::RemoveCols ( UInt32  inHowMany,
TableIndexT  inFromCol 
)
virtual

Definition at line 1106 of file oofpp.cpp.

void dbViewAsTableStorage::RemoveRows ( UInt32  inHowMany,
TableIndexT  inFromRow 
)
virtual

Definition at line 1097 of file oofpp.cpp.

void dbViewAsTableStorage::SetCellData ( const STableCell &  inCell,
const void *  inDataPtr,
UInt32  inDataSize 
)
virtual

Definition at line 986 of file oofpp.cpp.

Member Data Documentation

unsigned short dbViewAsTableStorage::mHeadingRows
protected

Definition at line 142 of file oofppx.h.

Referenced by GetCellData(), and GetStorageSize().

dbView* dbViewAsTableStorage::mView
protected

Definition at line 141 of file oofppx.h.

Referenced by FindCellData(), GetCellData(), and GetStorageSize().


The documentation for this class was generated from the following files: