HDK
|
#include <GA_OffsetList.h>
Public Member Functions | |
ListTypeData * | reallocate (exint new_capacity) |
ListTypeData * | bumpCapacity (exint mincapacity) |
ListTypeData * | setCapacity (exint new_capacity) |
ListTypeData * | copy (exint size, exint new_capacity) const |
void | ref () const |
void | unref () |
bool | isShared () const |
SYS_FORCE_INLINE int64 | getMemoryUsage (bool inclusive) const |
void | countMemory (UT_MemoryCounter &counter, bool inclusive) const |
SYS_FORCE_INLINE GA_Size | capacity () const |
bool | isTrivial (exint size) const |
bool | isAscending (exint size) const |
ListTypeData * | setEntries (GA_Size sz, exint old_size, bool doresize=true) |
FromType | insert (FromType index, ToType value, FromType size) |
FromType | multipleInsert (FromType index, GA_Size count, FromType size) |
FromType | remove (FromType i, FromType size) |
FromType | findAndRemove (ToType v, FromType size) |
GA_Size | removeAll (ToType v, FromType size) |
FromType | find (ToType v, FromType s, FromType size) const |
FromType | findSorted (ToType v, FromType s, FromType size) const |
SYS_FORCE_INLINE INT_TYPE & | operator() (exint index) |
SYS_FORCE_INLINE const INT_TYPE & | operator() (exint index) const |
SYS_FORCE_INLINE void | set (FromType index, ToType value) |
SYS_FORCE_INLINE ToType | get (FromType index) const |
void | constant (ToType value, FromType size) |
template<typename S > | |
void | set (const S *data, exint size, ToType offset) |
template<typename S > | |
void | copyAdd (FromType destindex, const S *values, GA_Size srcindex, GA_Size n, ToType offset) |
template<typename S > | |
void | copyAdd (FromType destindex, const GA_ListTypeRef< FromType, ToType, S > &values, FromType srcindex, GA_Size n, ToType offset) |
void | cycle (GA_Size how_many, FromType size) |
void | reverse (FromType size) |
void | sortAscending (FromType size) |
FromType | sortAndRemoveDuplicates (FromType size) |
FromType | findInRange (FromType start, FromType end, ToType search) const |
FromType | findInRangeNotEqual (FromType start, FromType end, ToType search) const |
FromType | findValidInRange (FromType start, FromType end) const |
FromType | findInvalidInRange (FromType start, FromType end) const |
SYS_FORCE_INLINE const INT_TYPE * | getRawData () const |
SYS_FORCE_INLINE INT_TYPE * | getRawData () |
Static Public Member Functions | |
static ListTypeData * | allocate (exint capacity) |
Definition at line 63 of file GA_OffsetList.h.
|
inlinestatic |
Definition at line 66 of file GA_OffsetList.h.
|
inline |
Definition at line 106 of file GA_OffsetList.h.
|
inline |
Definition at line 190 of file GA_OffsetList.h.
|
inline |
Definition at line 313 of file GA_OffsetList.h.
|
inline |
Definition at line 131 of file GA_OffsetList.h.
|
inline |
Definition at line 339 of file GA_OffsetList.h.
|
inline |
Definition at line 346 of file GA_OffsetList.h.
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::countMemory | ( | UT_MemoryCounter & | counter, |
bool | inclusive | ||
) | const |
|
inline |
Definition at line 363 of file GA_OffsetList.h.
|
inline |
Definition at line 281 of file GA_OffsetList.h.
|
inline |
Definition at line 245 of file GA_OffsetList.h.
|
inline |
Definition at line 413 of file GA_OffsetList.h.
|
inline |
Definition at line 423 of file GA_OffsetList.h.
|
inline |
Definition at line 444 of file GA_OffsetList.h.
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findSorted | ( | ToType | v, |
FromType | s, | ||
FromType | size | ||
) | const |
|
inline |
Definition at line 434 of file GA_OffsetList.h.
|
inline |
Definition at line 310 of file GA_OffsetList.h.
|
inline |
Definition at line 184 of file GA_OffsetList.h.
|
inline |
Definition at line 456 of file GA_OffsetList.h.
|
inline |
Definition at line 461 of file GA_OffsetList.h.
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::insert | ( | FromType | index, |
ToType | value, | ||
FromType | size | ||
) |
|
inline |
Definition at line 208 of file GA_OffsetList.h.
|
inline |
Definition at line 180 of file GA_OffsetList.h.
|
inline |
Definition at line 193 of file GA_OffsetList.h.
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::multipleInsert | ( | FromType | index, |
GA_Size | count, | ||
FromType | size | ||
) |
|
inline |
Definition at line 297 of file GA_OffsetList.h.
|
inline |
Definition at line 302 of file GA_OffsetList.h.
|
inline |
Definition at line 86 of file GA_OffsetList.h.
|
inline |
Definition at line 144 of file GA_OffsetList.h.
|
inline |
Definition at line 233 of file GA_OffsetList.h.
|
inline |
Definition at line 264 of file GA_OffsetList.h.
|
inline |
Definition at line 374 of file GA_OffsetList.h.
|
inline |
Definition at line 307 of file GA_OffsetList.h.
|
inline |
Definition at line 321 of file GA_OffsetList.h.
|
inline |
Definition at line 119 of file GA_OffsetList.h.
ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::setEntries | ( | GA_Size | sz, |
exint | old_size, | ||
bool | doresize = true |
||
) |
|
inline |
Definition at line 386 of file GA_OffsetList.h.
|
inline |
Definition at line 380 of file GA_OffsetList.h.
|
inline |
Definition at line 160 of file GA_OffsetList.h.