CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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

◆ fixedArray()

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

Definition at line 8 of file fixedArray.h.

8 {}

Member Function Documentation

◆ operator const T *()

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:16

◆ operator T*()

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:16

◆ operator[]() [1/2]

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]; }
T content[S]
Definition: fixedArray.h:16

◆ operator[]() [2/2]

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 content[i]; }
T content[S]
Definition: fixedArray.h:16

◆ serialize()

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

◆ boost::serialization::access

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

Definition at line 18 of file fixedArray.h.

◆ cond::serialization::access

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

Definition at line 18 of file fixedArray.h.

Member Data Documentation

◆ content

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