Public Member Functions | Public Attributes

ms3d::Vector< T, N > Class Template Reference

#include <Vector.h>

List of all members.

Public Member Functions

 Vector (void)
 ~Vector (void)
 Vector (const Vector &rhs)
Vectoroperator= (const Vector &rhs)
 operator T * ()
 operator const T * () const
T & operator[] (unsigned i)
const T & operator[] (unsigned i) const
bool Init (const unsigned char *buffer, unsigned *offset)

Public Attributes

data [N]

template<class T, unsigned N>
class ms3d::Vector< T, N >


Constructor & Destructor Documentation

template<class T , unsigned N>
ms3d::Vector< T, N >::Vector ( void   ) 

Default constructor.

template<class T , unsigned N>
ms3d::Vector< T, N >::~Vector ( void   ) 

Destructor.

template<class T , unsigned N>
ms3d::Vector< T, N >::Vector ( const Vector< T, N > &  rhs  ) 

Copy constructor.


Member Function Documentation

template<class T , unsigned N>
bool ms3d::Vector< T, N >::Init ( const unsigned char *  buffer,
unsigned *  offset 
)
template<class T, unsigned N>
ms3d::Vector< T, N >::operator const T * (  )  const [inline]
template<class T, unsigned N>
ms3d::Vector< T, N >::operator T * (  )  [inline]
template<class T , unsigned N>
Vector< T, N > & ms3d::Vector< T, N >::operator= ( const Vector< T, N > &  rhs  ) 

Copy assignment operator.

template<class T, unsigned N>
const T& ms3d::Vector< T, N >::operator[] ( unsigned  i  )  const [inline]
template<class T, unsigned N>
T& ms3d::Vector< T, N >::operator[] ( unsigned  i  )  [inline]

Member Data Documentation

template<class T, unsigned N>
T ms3d::Vector< T, N >::data[N]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines