CMS 3D CMS Logo

Public Member Functions | Private Attributes

fixedArray< T, S > Class Template Reference

#include <fixedArray.h>

List of all members.

Public Member Functions

 fixedArray ()
 operator const T * () const
 operator T * ()
const Toperator[] (const unsigned int i) const
Toperator[] (const unsigned int i)

Private Attributes

T content [S]

Detailed Description

template<typename T, unsigned int S>
class fixedArray< T, S >

Definition at line 4 of file fixedArray.h.


Constructor & Destructor Documentation

template<typename T, unsigned int S>
fixedArray< T, S >::fixedArray ( ) [inline]

Definition at line 6 of file fixedArray.h.

{}

Member Function Documentation

template<typename T, unsigned int S>
fixedArray< T, S >::operator const T * ( ) const [inline]

Definition at line 9 of file fixedArray.h.

{ return content; }
template<typename T, unsigned int S>
fixedArray< T, S >::operator T * ( ) [inline]

Definition at line 8 of file fixedArray.h.

{ return content; }
template<typename T, unsigned int S>
T& fixedArray< T, S >::operator[] ( const unsigned int  i) [inline]

Definition at line 10 of file fixedArray.h.

{ return content[i]; }
template<typename T, unsigned int S>
const T& fixedArray< T, S >::operator[] ( const unsigned int  i) const [inline]

Definition at line 11 of file fixedArray.h.

                                                         { return
content[i]; }

Member Data Documentation

template<typename T, unsigned int S>
T fixedArray< T, S >::content[S] [private]