LTableStorage is an abstract PowerPlant class that specifies the interface for the data storage helper objects. These functions provide behaviors to maintain the data associated with a table.
Methods :
The methods in this class are:
Data Members:
The data member in this class is:
Operation:
All functions in this class are pure virtual, so when you inherit from this class you must provide implementations for every method.
Source files:
Purpose:
The constructor creates an object.
Access :
Prototype:
LTableStorage();Parameters:
Purpose:
The destructor destroys the object.
Access :
Prototype:
virtual ~LTableStorage();
Purpose:
Search a cell for the specified data.
Access :
Prototype:
virtual Boolean FindCellData(
STableCell &outCell,
const void *inDataPtr,
UInt32 inDataSize) const = 0;Parameters:
This method has the following parameters:
Return:
Return true if the data is found.
Purpose:
Access :
Prototype:
virtual void GetCellData(
const STableCell &inCell,
void *outDataPtr,
UInt32 &ioDataSize) const = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Access :
Prototype:
virtual void GetStorageSize(
TableIndexT &outRows,
TableIndexT &outCols ) = 0Parameters:
This method has the following parameters:
Return:
Purpose:
Insert more columns into storage.
Access :
Prototype:
virtual void InsertCols(
UInt32 inHowMany,
TableIndexT inAfterCol,
const void *inDataPtr,
UInt32 inDataSize) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Insert more rows into storage.
Access :
Prototype:
virtual void InsertRows(
UInt32 inHowMany,
TableIndexT inAfterRow,
const void *inDataPtr,
UInt32 inDataSize) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Access :
Prototype:
virtual void RemoveCols(
UInt32 inHowMany,
TableIndexT inFromCol ) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Access :
Prototype:
virtual void RemoveRows(
UInt32 inHowMany,
TableIndexT inFromRow) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Access :
Prototype:
virtual void SetCellData(
const STableCell &inCell,
const void *inDataPtr,
UInt32 inDataSize ) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Storage for the pointer to the table.
Access :
Prototype: