<< Return to Main Index

< Return to Class Index

class CGXExcelBaseTable : public CGXExcelTable template <class T, class T1 = _cgxNullClass>

This class is derived from CGXExcelTable and adds memory management capabilities to CGXExcelTable. Each table needs to manage two kinds of objects. One, objects that it can modify (these are typically Objective Grid structures such as CGXStyle, CGXGridParam, CGXData etc), two, structures that mirror the structure of the record on the Excel side. The later records are usually structures that mirror the Excel records. Since tables are collections of these records (each table has all the records that pertain to a particular type available)managing these is nothing but the management of a list of these structures. These structures are usually to be accessed by index. CGXExcelBaseTable provides a template implementation that provides all this management code. The implementor of the actual table object only needs to define and specify the structure of the objects.

T: This is data structure that mirrors the Excel data structure for this field

T1: This is a grid data structure such as CGXStyle

#include <gxexrd.h>

See Also

CGXExcelHandler CGXExcelTable

CGXExcelBaseTable

Class Members