ReportTable::AddColumn

 

Description

Add one column to report table

Syntax

TreeNode AddColumn( vector & vec, LPCSTR lpcszName, int nID, LPCSTR lpcszLongName = NULL, int nDesignation = OKDATAOBJ_DESIGNATION_Y )

TreeNode AddColumn( vector<string> & vec, LPCSTR lpcszName, int nID, LPCSTR lpcszLongName = NULL, int nDesignation = OKDATAOBJ_DESIGNATION_Y )

TreeNode AddColumn( vector<complex> & vec, LPCSTR lpcszName, int nID, LPCSTR lpcszLongName = NULL, int nDesignation = OKDATAOBJ_DESIGNATION_Y )

Parameters

vec
[input] value to fill in the column
lpcszName
[input] column tag name
nID
[input] column id
lpcszLongName
[input] column title
nDesignation
[input] column designation

Return

the added node

Examples

ReportBase's examples

Remark

See Also

header to Included

ReportTree.h