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 Member Functions | Private Attributes | Friends
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 Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

T content [S]
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

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

Definition at line 6 of file fixedArray.h.

Constructor & Destructor Documentation

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

Definition at line 8 of file fixedArray.h.

8 {}

Member Function Documentation

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

Definition at line 11 of file fixedArray.h.

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

Definition at line 10 of file fixedArray.h.

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

Definition at line 12 of file fixedArray.h.

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

Definition at line 13 of file fixedArray.h.

13  { return
14 content[i]; }
int i
Definition: DBlmapReader.cc:9
T content[S]
Definition: fixedArray.h:17
template<typename T, unsigned int S>
template<class Archive >
void fixedArray< T, S >::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

template<typename T, unsigned int S>
friend class boost::serialization::access
friend

Definition at line 19 of file fixedArray.h.

template<typename T, unsigned int S>
template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 19 of file fixedArray.h.

Member Data Documentation

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