CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
fixedArray< T, S > Class Template Reference

#include <fixedArray.h>

Public Member Functions

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

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.

6 {}

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.

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

Definition at line 8 of file fixedArray.h.

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

Definition at line 10 of file fixedArray.h.

10 { return content[i]; }
int i
Definition: DBlmapReader.cc:9
T content[S]
Definition: fixedArray.h:15
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.

11  { return
12 content[i]; }
int i
Definition: DBlmapReader.cc:9
T content[S]
Definition: fixedArray.h:15

Member Data Documentation

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