#include <GridBase.h>
Public Member Functions | |
| clPackage * | GetNextPackage () |
| Returns the next package in the linked list. | |
| void | SetValue (short int iCode, int iValue) |
| Sets the value of an integer data member. | |
| void | SetValue (short int iCode, float fValue) |
| Sets the value of a float data member. | |
| void | SetValue (short int iCode, bool bValue) |
| Sets the value of a bool data member. | |
| void | SetValue (short int iCode, char *cValue) |
| Sets the value of a char data member. | |
| void | GetValue (short int iCode, int *p_iValHolder) |
| Gets the value of an integer data member. | |
| void | GetValue (short int iCode, float *p_fValHolder) |
| Gets the value of a float data member. | |
| void | GetValue (short int iCode, bool *p_bValHolder) |
| Gets the value of a boolean data member. | |
| void | GetValue (short int iCode, char *p_cValHolder) |
| Gets the value of a char data member. | |
Protected Member Functions | |
| clPackage (clGridBase *p_oParentGrid, struct clGridBase::stcRecords *p_oParentCell) | |
| Constructor. | |
| ~clPackage () | |
| Destructor. | |
Protected Attributes | |
| clGridBase * | mp_oParentGrid |
| Package's parent grid. | |
| clGridBase::stcRecords * | mp_parentCell |
| Package's parent grid cell. | |
| int * | mp_iIntVals |
| Array holding integer values. | |
| float * | mp_fFloatVals |
| Array holding float values. | |
| char ** | mp_cCharVals |
| Array holding char values. | |
| bool * | mp_bBoolVals |
| Array holding bool values. | |
| clPackage * | mp_oNext |
| Pointer to next package in linked list. | |
Friends | |
| class | clGridBase |
| class | clGridTest |
| So we can do automated testing. | |
All packages have the same record structure. It depends on its parent grid to set the static member variables.
|
||||||||||||
|
Constructor. This will set up the value arrays for the grid cells. Values will be initialized to 0, false, or empty string, as appropriate.
|
|
|
Returns the next package in the linked list. Can be used for traversing the linked list.
|
|
||||||||||||
|
Gets the value of a char data member.
|
|
||||||||||||
|
Gets the value of a boolean data member.
|
|
||||||||||||
|
Gets the value of a float data member.
|
|
||||||||||||
|
Gets the value of an integer data member.
|
|
||||||||||||
|
Sets the value of a char data member.
|
|
||||||||||||
|
Sets the value of a bool data member.
|
|
||||||||||||
|
Sets the value of a float data member.
|
|
||||||||||||
|
Sets the value of an integer data member.
|
|
|
Array holding bool values. Size is m_iNumBoolVals. |
|
|
Array holding char values. Size is m_iNumCharVals. |
|
|
Array holding float values. Size is m_iNumFloatVals. |
|
|
Array holding integer values. Size is m_iNumIntVals. |
1.4.6-NO