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