My Project
Public Member Functions | Protected Attributes | List of all members
ParaEngine::CDataTable Class Reference
Inheritance diagram for ParaEngine::CDataTable:
ParaEngine::CBaseTable

Public Member Functions

virtual CColumnCollectionGetColumnInfos ()
 
- Public Member Functions inherited from ParaEngine::CBaseTable
 CBaseTable (int rowsize, int columnsize)
 
virtual ~CBaseTable ()
 Release all resource, output error if some of the rows and columns are not properly release via ReleaseXX() functions.
 
virtual int InsertRow (int index)
 insert a new row at a given position, return the newly inserted row (it is an empty row) the row is filled with null (using Resize()) will invalidate the rows which are larger than index and all columns. More...
 
virtual int InsertRow (CBaseRowColumn &row, int index)
 insert an existing row at a given position if the size of the input object does not match the CBaseTable's, the input object's Resize() will be called to set the correct size; will invalidate the rows which are larger than index and all columns. More...
 
virtual CBaseRowColumnGetRow (int index)
 get a row, you should release it after use More...
 
virtual int InsertColumn (int index)
 insert a new column at a given position, return the newly inserted column (it is an empty column) the column is filled with null(using Resize()) will invalidate the columns which are larger than index and all rows. More...
 
virtual int InsertColumn (CBaseRowColumn &column, int index)
 insert an existing column at a given position if the size of the input object does not match the CBaseTable's, the input object's Resize() will be called to set the correct size; will invalidate the columns which are larger than index and all rows. More...
 
virtual const IObjectGetAt (int row, int column) const
 get the IObject at a given position More...
 
virtual IObjectGetAt (int row, int column)
 
virtual int SetAt (IObject &obj, int row, int column)
 Set the IObject at a given position. More...
 
virtual void DeleteColumn (int index)
 
virtual void DeleteRow (int index)
 
virtual void Clear ()
 
virtual int NumberOfRows ()
 
virtual int NumberOfColumns ()
 

Protected Attributes

CColumnCollectionm_ColumnInfo
 
string m_szTableName
 
- Protected Attributes inherited from ParaEngine::CBaseTable
Collection_Vector< CBaseRowColumnm_Rows
 
int m_nRowSize
 
int m_nColumnSize
 

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