![]() |
VR-Link API Documentation for HLA 4
|
Internal structure used to store the code units. More...
Collaboration diagram for DtUcString::CodeUnitArray:Public Member Functions | |
| CodeUnitArray () | |
| CTOR. More... | |
| CodeUnitArray (const CodeUnitArray &) | |
| Copy CTOR. More... | |
| ~CodeUnitArray () | |
| DTOR. More... | |
| CodeUnitArray & | operator= (const CodeUnitArray &) |
| Assignment operator. More... | |
| void | resize (size_t newSize) |
| Resize the array. More... | |
| void | clear () |
| Resize the array to 0, does not change the memory allocation if the array is unique. More... | |
| void | reserve (size_t capacity) |
| Ensure the array's capacity is at least capacity, do not change size. More... | |
| size_t | calculateCapacity (size_t necessarySize) |
| Calculate the capacity. More... | |
| size_t | size () const |
| Return size in bytes. More... | |
| size_t | capacity () const |
| Return capacity in bytes. More... | |
| void | concat (const CodeUnitArray &other) |
| Concat another array, supports concat operations on itself. More... | |
| bool | unique () const |
| Am I unique. More... | |
| bool | empty () const |
| Am I empty. More... | |
| void | add_ref () |
| Increment the reference count. More... | |
| void | dec_ref () |
| Decrement the reference count. More... | |
Public Attributes | |
| volatile long * | count |
| CodeUnit * | begin |
| CodeUnit * | end |
| CodeUnit * | last |
Internal structure used to store the code units.
|
inline |
CTOR.
|
inline |
Copy CTOR.
|
inline |
DTOR.
|
inline |
Increment the reference count.
|
inline |
Calculate the capacity.
|
inline |
Return capacity in bytes.
|
inline |
Resize the array to 0, does not change the memory allocation if the array is unique.
|
inline |
Concat another array, supports concat operations on itself.
|
inline |
Decrement the reference count.
|
inline |
Am I empty.
|
inline |
Assignment operator.
|
inline |
Ensure the array's capacity is at least capacity, do not change size.
|
inline |
Resize the array.
|
inline |
Return size in bytes.
|
inline |
Am I unique.
| CodeUnit* DtUcString::CodeUnitArray::begin |
| volatile long* DtUcString::CodeUnitArray::count |
| CodeUnit* DtUcString::CodeUnitArray::end |
| CodeUnit* DtUcString::CodeUnitArray::last |