A String array.
More...
#include <xmpputils.h>
|
|
String * | m_array |
| |
|
unsigned int | m_length |
| |
A String array.
Implements a String array set from an already allocated
◆ StringArray()
◆ at()
| 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().
◆ operator[]() [1/2]
| int operator[] |
( |
const String & | token | ) |
|
|
inline |
Lookup for an integer associated with a given String
- Parameters
-
- Returns
- Token value or 0 if not found
◆ operator[]() [2/2]
| 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
The documentation for this class was generated from the following file: