#include <string_array.hpp>
Simple class to hold an array of strings; string values are copied into the string_array.
Definition at line 35 of file string_array.hpp.
◆ string_array() [1/2]
fastuidraw::string_array::string_array |
( |
void |
| ) |
|
◆ string_array() [2/2]
fastuidraw::string_array::string_array |
( |
const string_array & |
obj | ) |
|
Copy ctor.
- Parameters
-
obj | value from which to copy |
◆ clear()
void fastuidraw::string_array::clear |
( |
void |
| ) |
|
◆ get() [1/2]
◆ get() [2/2]
c_string fastuidraw::string_array::get |
( |
unsigned int |
I | ) |
const |
Return an element of the array, pointer is valid until the string_array is modified.
- Parameters
-
◆ operator=()
Assignment operator
- Parameters
-
rhs | value from which to copy |
◆ pop_back()
◆ push_back()
Add an element
- Parameters
-
value | string from which to copy to the element |
◆ resize()
void fastuidraw::string_array::resize |
( |
unsigned int |
size, |
|
|
c_string |
value = "" |
|
) |
| |
Resize of the string_array.
- Parameters
-
size | new size of the array |
value | value with which to set all new elements |
◆ set()
Set an element of the array
- Parameters
-
I | element to set |
value | string from which to copy to the element |
◆ size()
unsigned int fastuidraw::string_array::size |
( |
void |
| ) |
const |
◆ swap()
The documentation for this class was generated from the following file: