|
| | GA_OffsetListType () |
| |
| | GA_OffsetListType (const GA_OffsetListType &src) |
| |
| | GA_OffsetListType (const GA_ListTypeRef< FromType, GA_Offset, INT_TYPE > &src) |
| |
| SYS_FORCE_INLINE | GA_OffsetListType (GA_Offset start, GA_Size size, bool flag_set=false) |
| | Trivial list constructor. More...
|
| |
| | GA_OffsetListType (const UT_Array< GA_Offset > &src, FromType start=FromType(0), FromType end=FromType(-1)) |
| |
SYS_FORCE_INLINE
GA_OffsetListType & | operator= (const GA_OffsetListType &src)=default |
| | Copy assignment operator. More...
|
| |
SYS_FORCE_INLINE
GA_OffsetListType & | operator= (const GA_ListTypeRef< FromType, GA_Offset, INT_TYPE > &src) |
| |
| bool | jsonPointArray (UT_JSONWriter &w, const GA_SaveMap &save) const |
| | Save the offsets by doing the mapping to the points in the save map. More...
|
| |
| bool | jsonVertexArray (UT_JSONWriter &w, const GA_SaveMap &save) const |
| | Save the offsets by doing the mapping to the vertices in the save map. More...
|
| |
| bool | jsonPrimitiveArray (UT_JSONWriter &w, const GA_SaveMap &save) const |
| | Save the offsets by doing the mapping to the primitives in the save map. More...
|
| |
| bool | jsonPointArray (UT_JSONParser &p, const GA_LoadMap &load) |
| | Load a point list from a JSON stream. More...
|
| |
| bool | jsonVertexArray (UT_JSONParser &p, const GA_LoadMap &load) |
| | Load a vertex list from a JSON stream. More...
|
| |
| bool | jsonPrimitiveArray (UT_JSONParser &p, const GA_LoadMap &load) |
| | Load a primitive list from a JSON stream. More...
|
| |
| bool | jsonLoad (UT_JSONParser &p, GA_Offset load_offset) |
| | Generic load given a load offset. More...
|
| |
| bool | jsonLoadAppend (UT_JSONParser &p, GA_Offset load_offset) |
| | Load, appending to the current offset list without initial clear. More...
|
| |
| bool | jsonLoadByIndex (UT_JSONParser &p, const GA_IndexMap &index_map, GA_Index load_offset) |
| |
| bool | jsonLoadAppendByIndex (UT_JSONParser &p, const GA_IndexMap &index_map, GA_Index load_offset) |
| |
|
| SYS_FORCE_INLINE | GA_OffsetListType (GA_OffsetListType &&src)=default |
| |
SYS_FORCE_INLINE
GA_OffsetListType & | operator= (GA_OffsetListType &&src)=default |
| |
|
| GA_Size | swapOffsetValues (const GA_Defragment &defrag) |
| |
| SYS_FORCE_INLINE | GA_ListType () |
| | Default constructor. More...
|
| |
| SYS_FORCE_INLINE | GA_ListType (const GA_ListType &src) |
| | Copy constructor. More...
|
| |
| SYS_FORCE_INLINE | GA_ListType (GA_ListType &&src) noexcept |
| | Move constructor. More...
|
| |
| SYS_FORCE_INLINE | GA_ListType (const Base &src) |
| |
| SYS_FORCE_INLINE | GA_ListType (GA_Offsetstartvalue, GA_Size size, bool flag_set=false) |
| | Trivial list constructor. More...
|
| |
| | GA_ListType (const UT_Array< GA_Offset > &src, FromType start=FromType(0), FromType end=FromType(-1)) |
| |
| SYS_FORCE_INLINE | ~GA_ListType () |
| | Destructor. More...
|
| |
| SYS_FORCE_INLINE GA_ListType & | operator= (const GA_ListType &src) |
| | Copy assignment operator. More...
|
| |
| SYS_FORCE_INLINE GA_ListType & | operator= (GA_ListType &&src) noexcept |
| | Move assignment operator. More...
|
| |
| SYS_FORCE_INLINE GA_ListType & | operator= (const Base &src) |
| |
| void | countMemory (UT_MemoryCounter &counter, bool inclusive) const |
| |
| SYS_FORCE_INLINE void | clear () |
| | clear removes all of the entries More...
|
| |
| void | computeTrivial () |
| |
| void | setTrivial (GA_Offsetstartvalue, GA_Size size) |
| | Makes the list a trivial list with the specified start value and size. More...
|
| |
| void | setTrivial (GA_Offsetstartvalue, GA_Size size, bool flag) |
| |
| void | setEntries (FromType sz, bool doresize=true) |
| |
| void | reserve (FromType mincapacity) |
| |
| void | changeSize (FromType new_capacity) |
| |
| FromType | append (GA_Offsetvalue) |
| | Add a single entry (may grow array) More...
|
| |
| void | append (const GA_ListTypeRef< FromType, GA_Offset, INT_TYPE > &src) |
| |
| FromType | insert (FromType i, GA_Offsetvalue) |
| | Insert a single entry (may grow array) More...
|
| |
| FromType | multipleInsert (FromType i, GA_Size count) |
| |
| FromType | remove (FromType i) |
| | Remove the entry at the given offset. More...
|
| |
| FromType | findAndRemove (GA_Offseti) |
| | Find an entry and remove it from the list. More...
|
| |
| FromType | removeIndex (FromType i) |
| | Alias for remove to match UT array types. More...
|
| |
| GA_Size | removeAll (GA_Offseti) |
| | Remove all matching entries from the list. More...
|
| |
| void | removeLast () |
| | Remove the last entry. More...
|
| |
| void | sortAscending () |
| | Sort entries into ascending order. More...
|
| |
| void | sortAndRemoveDuplicates () |
| | Sort entries into ascending order and remove duplicates. More...
|
| |
| void | set (FromType index, GA_Offsetvalue) |
| | Set the index to the value. More...
|
| |
| void | set (const S *data, exint size, GA_Offsetoffset) |
| |
| void | copyAdd (FromType destindex, const int *values, GA_Size srcindex, GA_Size n, GA_Offsetoffset) |
| |
| void | copyAdd (FromType destindex, const GA_ListTypeRef< FromType, GA_Offset > &values, FromType srcindex, GA_Size n, GA_Offsetoffset) |
| |
| void | setTrivialRange (FromType startindex, GA_Offsetstartvalue, GA_Size nelements) |
| |
| void | constant (GA_Offsetvalue) |
| | Set all entries to a constant value. More...
|
| |
| void | cycle (GA_Size how_many) |
| | Cyclically shift the entire array by how_many. More...
|
| |
| void | reverse () |
| | Reverse the entire array. More...
|
| |
| void | harden () |
| |
| void | harden (exint mincapacity) |
| |
| void | incDataRef () |
| |
| SYS_FORCE_INLINE | GA_ListTypeRef () |
| | Default constructor. More...
|
| |
| SYS_FORCE_INLINE | GA_ListTypeRef (const GA_ListTypeRef &src)=default |
| | Copy constructor. More...
|
| |
| SYS_FORCE_INLINE | GA_ListTypeRef (GA_ListTypeRef &&src) noexcept=default |
| | Move constructor. More...
|
| |
| SYS_FORCE_INLINE | GA_ListTypeRef (GA_Offsetstartvalue, GA_Size size, bool flag_set=false) |
| | Trivial list constructor. More...
|
| |
| SYS_FORCE_INLINE | ~GA_ListTypeRef ()=default |
| | Destructor. More...
|
| |
| SYS_FORCE_INLINE GA_ListTypeRef & | operator= (const GA_ListTypeRef &src)=default |
| | Copy assignment operator. More...
|
| |
| SYS_FORCE_INLINE GA_ListTypeRef & | operator= (GA_ListTypeRef &&src) noexcept=default |
| | Move assignment operator. More...
|
| |
| SYS_FORCE_INLINE void | clear () |
| | clear removes all of the entries More...
|
| |
| SYS_FORCE_INLINE void | setTrivial (GA_Offsetstartvalue, GA_Size size) |
| | Makes the list a trivial list with the specified start value and size. More...
|
| |
| SYS_FORCE_INLINE void | setTrivial (GA_Offsetstartvalue, GA_Size size, bool flag) |
| |
| SYS_FORCE_INLINE GA_Size | capacity () const |
| | Returns the allocated capacity of the list. More...
|
| |
| SYS_FORCE_INLINE FromType | entries () const |
| | Returns the number of used elements in the list (always <= capacity()) More...
|
| |
| SYS_FORCE_INLINE FromType | size () const |
| | Returns the number of used elements in the list (always <= capacity()) More...
|
| |
| SYS_FORCE_INLINE bool | isTrivial () const |
| |
| SYS_FORCE_INLINE bool | getExtraFlag () const |
| | Synonym for isClosed() More...
|
| |
| SYS_FORCE_INLINE bool | isClosed () const |
| | Synonym for getExtraFlag() More...
|
| |
| SYS_FORCE_INLINE void | setExtraFlag (bool v) |
| | Synonym for setClosed(bool) More...
|
| |
| SYS_FORCE_INLINE void | setClosed (bool v) |
| | Synonym for setExtraFlag(bool) More...
|
| |
| bool | isSame (const GA_ListTypeRef &that) const |
| |
| bool | isAscending () const |
| | Identifies whether the data is in ascending order. More...
|
| |
| FromType | find (GA_Offsetvalue, FromType s=FromType(0)) const |
| |
| FromType | findSorted (GA_Offsetvalue, FromType s=FromType(0)) const |
| | Find the target in a sorted list. More...
|
| |
| SYS_FORCE_INLINE GA_Offset | get (FromType index) const |
| | Get the the value at the index. More...
|
| |
| SYS_FORCE_INLINE GA_Offset | trivialStart () const |
| | Returns the start, assuming this list is trivial. More...
|
| |
| bool | isEqual (const GA_ListTypeRef &other, FromType start, FromType end) const |
| | Test a sub-block for equality with another list. More...
|
| |
| GA_Offset | last () const |
| | Return the value of the last element. More...
|
| |
| SYS_FORCE_INLINE GA_Offset | operator() (FromType i) const |
| | Convenience () operator to access the list entries. More...
|
| |
| SYS_FORCE_INLINE GA_Offset | operator[] (FromType i) const |
| |
| FromType | findInRange (FromType start, FromType end, GA_Offsetsearch) const |
| |
| FromType | findInRangeNotEqual (FromType start, FromType end, GA_Offsetsearch) const |
| |
| FromType | findValidInRange (FromType start, FromType end) const |
| |
| FromType | findInvalidInRange (FromType start, FromType end) const |
| |
| SYS_FORCE_INLINE void | forEach (FUNCTOR &&functor) const |
| |
| SYS_FORCE_INLINE void | forEachReverse (FUNCTOR &&functor) const |
| | Like forEach() except iterates in reverse order. More...
|
| |
| SYS_FORCE_INLINE int64 | getMemoryUsage (bool inclusive) const |
| | Report memory usage (includes all shared memory) More...
|
| |
| SYS_FORCE_INLINE const INT_TYPE * | getArray () const |
| |
| SYS_FORCE_INLINE INT_TYPE * | getArray () |
| |
| iterator | begin () |
| |
| const_iterator | begin () const |
| |
| iterator | end () |
| |
| const_iterator | end () const |
| |
template<typename FromType, typename INT_TYPE = exint>
class GA_OffsetListType< FromType, INT_TYPE >
Definition at line 1580 of file GA_OffsetList.h.