Torque3D Documentation / _generateds / UnmanagedVector

UnmanagedVector

Engine/source/core/util/tUnmanagedVector.h

An array that does not manage the memory it gets passed.

More...

Public Types

const T *
const_iterator 
T *
iterator 

Protected Attributes

Public Functions

Detailed Description

An array that does not manage the memory it gets passed.

Conversely, the array cannot be enlarged.

note:

As the array does not manage the instances it uses, it will also not destruct them when it is itself destructed.

Public Types

typedef const T * const_iterator 
typedef T * iterator 

Protected Attributes

T * mArray 
U32 mCount 

Public Functions

UnmanagedVector()

UnmanagedVector(T * array, U32 count)

address()

address()

begin()

begin()

clear()

empty()

end()

end()

first()

first()

last()

last()

operator[](U32 index)

operator[](U32 index)

size()