Class for handling an array of integer.
More...
#include <GTXIntArray.hpp>
Class for handling an array of integer.
- Examples:
- browser.cpp, vendor.cpp, and write_files.cpp.
GTXIntArray::GTXIntArray |
( |
gtx_long |
count, |
|
|
int |
values[] |
|
) |
| |
constructor from a count of items and a C int array
- Parameters
-
count | number of values |
values | array of values to be copied |
GTXIntArray::GTXIntArray |
( |
const GTXIntArray & |
in_intarray | ) |
|
copy contructor
- Parameters
-
in_intarray | source int array |
gtx_long GTXIntArray::GetCount |
( |
void |
| ) |
const |
int GTXIntArray::GetValue |
( |
gtx_long |
rank | ) |
const |
Get the rank'th int (0 <= rank < count)
- Parameters
-
rank | (0 <= rank < count) of the value to retrieve |
- Returns
- rank'th int value
- Examples:
- browser.cpp, and vendor.cpp.
const int * GTXIntArray::GetValues |
( |
| ) |
const |
operator =
- Parameters
-
in_intarray | source int array |
void GTXIntArray::Resize |
( |
gtx_long |
count | ) |
|
void GTXIntArray::SetValue |
( |
gtx_long |
rank, |
|
|
int |
value |
|
) |
| |
Set the rank'th int (0 <= rank < count)
- Parameters
-
rank | (0 <= rank < count) of the value to change |
value | new rank'th int value |
- Examples:
- vendor.cpp.
The documentation for this class was generated from the following files: