My Project: dgArray< T > Class Template Reference

My Project

Public Member Functions | List of all members
dgArray< T > Class Template Reference

`#include <dgArray.h>`

## Public Member Functions

| dgArray (dgInt32 granulatitySize, dgMemoryAllocator *const allocator, dgInt32 aligmentInBytes=DG_MEMORY_GRANULARITY)
| ~dgArray ()
T & | operator[] (dgInt32 i)
const T & | operator[] (dgInt32 i) const
void | Resize (dgInt32 size) const
dgInt32 | GetElementSize () const
dgInt32 | GetBytesCapacity () const
dgInt32 | GetElementsCapacity () const
bool | ExpandCapacityIfNeessesary (dgInt32 index, dgInt32 stride) const

## Constructor & Destructor Documentation

## § dgArray()

template<class T >

dgArray< T >::dgArray | ( | dgInt32 | granulatitySize,
|  | dgMemoryAllocator *const | allocator,
|  | dgInt32 | aligmentInBytes = `DG_MEMORY_GRANULARITY`
| ) |  |

## § ~dgArray()

template<class T >

dgArray< T >::~dgArray | ( |  | ) |

## Member Function Documentation

## § ExpandCapacityIfNeessesary()

template<class T >

bool dgArray< T >::ExpandCapacityIfNeessesary | ( | dgInt32 | index,
|  | dgInt32 | stride
| ) |  | const

## § GetBytesCapacity()

template<class T >

dgInt32 dgArray< T >::GetBytesCapacity | ( |  | ) | const

## § GetElementsCapacity()

template<class T >

dgInt32 dgArray< T >::GetElementsCapacity | ( |  | ) | const

## § GetElementSize()

template<class T >

dgInt32 dgArray< T >::GetElementSize | ( |  | ) | const

## § operator[]() [1/2]

template<class T >

T & dgArray< T >::operator[] | ( | dgInt32 | i | ) |

## § operator[]() [2/2]

template<class T >

const T & dgArray< T >::operator[] | ( | dgInt32 | i | ) | const

## § Resize()

template<class T >

void dgArray< T >::Resize | ( | dgInt32 | size | ) | const

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

- dynamics.mod/NewtonDynamics/source/core/dgArray.h