Blender V2.61 - r43446
Public Member Functions | Protected Attributes

array< T > Class Template Reference

#include <util_vector.h>

Inheritance diagram for array< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 array ()
 array (size_t newsize)
 array (const array &from)
arrayoperator= (const array &from)
arrayoperator= (const vector< T > &from)
 ~array ()
void resize (size_t newsize)
void clear ()
size_t size () const
T & operator[] (size_t i) const

Protected Attributes

T * data
size_t datasize

Detailed Description

template<typename T>
class array< T >

Definition at line 39 of file util_vector.h.


Constructor & Destructor Documentation

template<typename T>
array< T >::array ( ) [inline]

Definition at line 42 of file util_vector.h.

template<typename T>
array< T >::array ( size_t  newsize) [inline]

Definition at line 48 of file util_vector.h.

template<typename T>
array< T >::array ( const array< T > &  from) [inline]

Definition at line 60 of file util_vector.h.

template<typename T>
array< T >::~array ( ) [inline]

Definition at line 93 of file util_vector.h.


Member Function Documentation

template<typename T>
void array< T >::clear ( ) [inline]
template<typename T>
array& array< T >::operator= ( const array< T > &  from) [inline]

Definition at line 65 of file util_vector.h.

template<typename T>
array& array< T >::operator= ( const vector< T > &  from) [inline]

Definition at line 80 of file util_vector.h.

template<typename T>
T& array< T >::operator[] ( size_t  i) const [inline]

Definition at line 125 of file util_vector.h.

template<typename T>
void array< T >::resize ( size_t  newsize) [inline]
template<typename T>
size_t array< T >::size ( ) const [inline]

Member Data Documentation

template<typename T>
T* array< T >::data [protected]
template<typename T>
size_t array< T >::datasize [protected]

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