OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
spursAlignedObjectArray< T > Class Template Reference

#include <spursAlignedObjectArray.h>

Classes

class  less
 

Public Member Functions

SIMD_FORCE_INLINE int capacity () const
 
SIMD_FORCE_INLINE int size () const
 
SIMD_FORCE_INLINE const T & operator[] (int n) const
 
SIMD_FORCE_INLINE T & operator[] (int n)
 
SIMD_FORCE_INLINE void clear ()
 
SIMD_FORCE_INLINE void pop_back ()
 
SIMD_FORCE_INLINE void resize (int newsize, const T &fillData=T())
 
SIMD_FORCE_INLINE T & expand (const T &fillValue=T())
 
SIMD_FORCE_INLINE void push_back (const T &_Val)
 
SIMD_FORCE_INLINE void reserve (int _Count)
 
template<typename L>
void downHeap (T *pArr, int k, int n, L CompareFunc)
 heap sort from http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/
 
void swap (int index0, int index1)
 
template<typename L>
void heapSort (L CompareFunc)
 
int findBinarySearch (const T &key) const
 non-recursive binary search, assumes sorted array
 
int findLinearSearch (const T &key) const
 
void remove (const T &key)
 

Protected Member Functions

SIMD_FORCE_INLINE int allocSize (int size)
 
SIMD_FORCE_INLINE void copy (int start, int end, T *dest)
 
SIMD_FORCE_INLINE void init ()
 
SIMD_FORCE_INLINE void destroy (int first, int last)
 
SIMD_FORCE_INLINE void * allocate (int size)
 
SIMD_FORCE_INLINE void deallocate ()
 

Detailed Description

template<typename T>
class spursAlignedObjectArray< T >

btAlignedObjectArray uses a subset of the stl::vector interface for its methods It is developed to replace stl::vector to avoid STL alignment issues to add SIMD/SSE data


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