[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

 

LTableArrayStorage



Overview:

LTableArrayStorage is a concrete implementation of LTableStorage to support a table where data is stored in an array.

Methods :

The methods in this class are:

 

LTableArrayStorage()  
~LTableArrayStorage()  
FindCellData()  
GetCellData()  
GetStorageSize()  
InsertCols()  
InsertRows()  
RemoveCols()  
RemoveRows()  
SetCellData()  

Data Members:

The data members in this class are:

 

mDataArray  
mOwnsArray  

Operation:

LTableArrayStorage adds no new member functions, but implements every fucntion for LTableStorage.

Source files:

(Table Classes)

LTableArrayStorage.h

LTableArrayStorage.cp

See also:

LTableStorage

LArray

LTableArrayStorage()

Purpose:

The constructor creates the object.

Access :

Public

Prototype:

For cells with the same size data, this creates an LArray object with items equal to the indicated size.

LTableArrayStorage( LTableView	*inTableView,

	UInt32		inDataSize );

This is a user-specified subclass of LArray.

LTableArrayStorage(

	LTableView		*inTableView,

	LArray			*inDataArray );
Parameters:

None

~LTableArrayStorage()

Purpose:

The destructor destroys the object.

Access :

Virtual, Public

Prototype:

virtual ~LTableArrayStorage();

FindCellData()

Purpose:

This is an override of FindCellData() in LTableStorage.

GetCellData()

Purpose:

This is an override of GetCellData() in LTableStorage.

GetStorageSize()

Purpose:

This is an override of GetStorageSize() in LTableStorage.

InsertCols()

Purpose:

This is an override of InsertCols() in LTableStorage.

InsertRows()

Purpose:

This is an override of InsertRows() in LTableStorage.

RemoveCols()

Purpose:

This is an override of RemoveCols() in LTableStorage.

RemoveRows()

Purpose:

This is an override of RemoveRows() in LTableStorage.

SetCellData()

Purpose:

This is an override of SetCellData() in LTableStorage.

mDataArray

Purpose:

The data array.

Access :

Protected

Prototype:

LArray *mDataArray;

mOwnsArray

Purpose:

Determines whether the array is destroyed when the LTableArrayStorage object is destroyed.

Access :

Protected

Prototype:

Boolean mOwnsArray;

 


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: July 21, 2000