CdotXSIDict Class Reference
Class used for dictionary entries (binary format). More...#include <XSIParser.h>
List of all members.
|
|
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) |
Detailed Description
Class used for dictionary entries (binary format).
Member Function Documentation
| SI_Void Init |
( |
SI_Int |
i_nCount |
) |
|
Initializes the dictionary with a preallocated number of elements.
- Parameters:
-
|
|
i_nCount |
Number of Elements |
| SI_Void Add |
( |
SI_Char * |
i_pLabel |
) |
|
Add an element (they must be preallocated first).
- Parameters:
-
|
|
i_pLabel |
Adds a new entry |
Get the number of elements.
| SI_Void Find |
( |
SI_Int |
i_nInd, |
|
|
|
SI_Char ** |
o_pLabel |
|
|
|
) |
|
|
|
Get the specified element.
- Parameters:
-
|
|
i_nInd |
Index of the element to retrieve |
|
|
o_pLabel |
Returned label |
| SI_Int Find |
( |
SI_Char * |
i_pLabel |
) |
|
Get the specified element.
- Parameters:
-
|
|
i_pLabel |
The label looked for |
- Returns:
- the index of the element
| SI_Void Read |
( |
_SI_FILE |
i_pFptr |
) |
|
read m_nTotalCount elements from a file.
- Parameters:
-
|
|
i_pFptr |
File pointer to read from |
| SI_Void Write |
( |
_SI_FILE |
i_pFptr |
) |
|
Write the used elements to file.
- Parameters:
-
|
|
i_pFptr |
File pointer to write to. |
The documentation for this class was generated from the following file: