Logo Search packages:      
Sourcecode: blender version File versions

btAlignedObjectArray< T > Class Template Reference

#include <btAlignedObjectArray.h>

List of all members.


Detailed Description

template<typename T>
class btAlignedObjectArray< 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

Definition at line 27 of file btAlignedObjectArray.h.


Public Member Functions

SIMD_FORCE_INLINE int capacity () const
SIMD_FORCE_INLINE void clear ()
SIMD_FORCE_INLINE T & operator[] (int n)
SIMD_FORCE_INLINE const T & operator[] (int n) const
SIMD_FORCE_INLINE void pop_back ()
SIMD_FORCE_INLINE void push_back (const T &_Val)
SIMD_FORCE_INLINE void reserve (int _Count)
SIMD_FORCE_INLINE void resize (int newsize)
SIMD_FORCE_INLINE int size () const

Protected Member Functions

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

Private Attributes

btAlignedAllocator< T, 16 > m_allocator
int m_capacity
T * m_data
int m_size

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

Generated by  Doxygen 1.6.0   Back to index