A String array.
More...
#include <xmpputils.h>
List of all members.
Detailed Description
A String array.
Implements a String array set from an already allocated
Constructor & Destructor Documentation
Constructor
- Parameters:
-
array | The array |
len | Array length |
Member Function Documentation
const String& at |
( |
unsigned int |
index | ) |
const [inline] |
Return the string at a given index (safe)
- Parameters:
-
index | The index in the array |
- Returns:
- The String at the requested index or an empty one if the index is invalid
References String::empty().
const String& operator[] |
( |
unsigned int |
index | ) |
const [inline] |
Return the string at a given index (unsafe)
- Parameters:
-
index | The index in the array |
- Returns:
- The String at the requested index
int operator[] |
( |
const String & |
token | ) |
[inline] |
Lookup for an integer associated with a given String
- Parameters:
-
- Returns:
- Token value or 0 if not found
The documentation for this class was generated from the following file: