#include <XSIParser.h>
Public Member Functions |
|
| CdotXSIDict () | |
| Constructor. |
|
| ~CdotXSIDict () | |
| Destructor. |
|
| SI_Void | Init (SI_Int i_nCount) |
| SI_Void | Add (SI_Char *i_pLabel) |
| SI_Int | GetCount () |
| SI_Void | Find (SI_Int i_nInd, SI_Char **o_pLabel) |
| SI_Int | Find (SI_Char *i_pLabel) |
| SI_Void | Read (_SI_FILE i_pFptr) |
| SI_Void | Write (_SI_FILE i_pFptr) |
| SI_Void Init | ( | SI_Int | i_nCount | ) |
Initializes the dictionary with a preallocated number of elements.
| i_nCount | Number of Elements |
Add an element (they must be preallocated first).
| i_pLabel | Adds a new entry |
Get the number of elements.
Get the specified element.
| i_nInd | Index of the element to retrieve | |
| o_pLabel | Returned label |
| SI_Int Find | ( | SI_Char * | i_pLabel | ) |
Get the specified element.
| i_pLabel | The label looked for |
read m_nTotalCount elements from a file.
| i_pFptr | File pointer to read from |
Write the used elements to file.
| i_pFptr | File pointer to write to. |