HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData Class Reference

#include <GA_OffsetList.h>

Public Member Functions

ListTypeDatareallocate (exint new_capacity)
 
ListTypeDatabumpCapacity (exint mincapacity)
 
ListTypeDatasetCapacity (exint new_capacity)
 
ListTypeDatacopy (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
 
ListTypeDatasetEntries (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 howMany, 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 ListTypeDataallocate (exint capacity)
 

Detailed Description

template<typename FromType, typename ToType, typename INT_TYPE = exint>
class GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData

Definition at line 63 of file GA_OffsetList.h.

Member Function Documentation

template<typename FromType, typename ToType, typename INT_TYPE = exint>
static ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::allocate ( exint  capacity)
inlinestatic

Definition at line 66 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::bumpCapacity ( exint  mincapacity)
inline

Definition at line 104 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE GA_Size GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::capacity ( ) const
inline

Definition at line 182 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::constant ( ToType  value,
FromType  size 
)
inline

Definition at line 305 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::copy ( exint  size,
exint  new_capacity 
) const
inline

Definition at line 125 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename S >
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::copyAdd ( FromType  destindex,
const S values,
GA_Size  srcindex,
GA_Size  n,
ToType  offset 
)
inline

Definition at line 329 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename S >
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::copyAdd ( FromType  destindex,
const GA_ListTypeRef< FromType, ToType, S > &  values,
FromType  srcindex,
GA_Size  n,
ToType  offset 
)
inline

Definition at line 336 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::countMemory ( UT_MemoryCounter counter,
bool  inclusive 
) const
template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::cycle ( GA_Size  howMany,
FromType  size 
)
inline

Definition at line 353 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::find ( ToType  v,
FromType  s,
FromType  size 
) const
inline

Definition at line 273 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findAndRemove ( ToType  v,
FromType  size 
)
inline

Definition at line 237 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findInRange ( FromType  start,
FromType  end,
ToType  search 
) const
inline

Definition at line 403 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findInRangeNotEqual ( FromType  start,
FromType  end,
ToType  search 
) const
inline

Definition at line 413 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findInvalidInRange ( FromType  start,
FromType  end 
) const
inline

Definition at line 434 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findSorted ( ToType  v,
FromType  s,
FromType  size 
) const
template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::findValidInRange ( FromType  start,
FromType  end 
) const
inline

Definition at line 424 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE ToType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::get ( FromType  index) const
inline

Definition at line 302 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE int64 GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 176 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE const INT_TYPE* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::getRawData ( ) const
inline

Definition at line 446 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE INT_TYPE* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::getRawData ( )
inline

Definition at line 451 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::insert ( FromType  index,
ToType  value,
FromType  size 
)
template<typename FromType, typename ToType, typename INT_TYPE = exint>
bool GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::isAscending ( exint  size) const
inline

Definition at line 200 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
bool GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::isShared ( ) const
inline

Definition at line 172 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
bool GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::isTrivial ( exint  size) const
inline

Definition at line 185 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::multipleInsert ( FromType  index,
GA_Size  count,
FromType  size 
)
template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE INT_TYPE& GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::operator() ( exint  index)
inline

Definition at line 289 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE const INT_TYPE& GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::operator() ( exint  index) const
inline

Definition at line 294 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::reallocate ( exint  new_capacity)
inline

Definition at line 86 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::ref ( ) const
inline

Definition at line 138 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::remove ( FromType  i,
FromType  size 
)
inline

Definition at line 225 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
GA_Size GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::removeAll ( ToType  v,
FromType  size 
)
inline

Definition at line 256 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::reverse ( FromType  size)
inline

Definition at line 364 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
SYS_FORCE_INLINE void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::set ( FromType  index,
ToType  value 
)
inline

Definition at line 299 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename S >
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::set ( const S data,
exint  size,
ToType  offset 
)
inline

Definition at line 313 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::setCapacity ( exint  new_capacity)
inline

Definition at line 115 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
ListTypeData* GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::setEntries ( GA_Size  sz,
exint  old_size,
bool  doresize = true 
)
template<typename FromType, typename ToType, typename INT_TYPE = exint>
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::sortAndRemoveDuplicates ( FromType  size)
inline

Definition at line 376 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::sortAscending ( FromType  size)
inline

Definition at line 370 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
void GA_ListTypeRef< FromType, ToType, INT_TYPE >::ListTypeData::unref ( )
inline

Definition at line 154 of file GA_OffsetList.h.


The documentation for this class was generated from the following file: