Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
Calibration
interface
fixedArray.h
Go to the documentation of this file.
1
#ifndef FIXEDARRAY_H
2
#define FIXEDARRAY_H
3
template
<
typename
T,
unsigned
int
S>
4
class
fixedArray
{
5
public
:
6
fixedArray
() {}
7
8
operator
T
*() {
return
content
; }
9
operator
const
T
*()
const
{
return
content
; }
10
T
&
operator []
(
const
unsigned
int
i
) {
return
content
[
i
]; }
11
const
T
&
operator []
(
const
unsigned
int
i
)
const
{
return
12
content
[
i
]; }
13
14
private
:
15
T
content
[S];
16
};
17
#endif
i
int i
Definition:
DBlmapReader.cc:9
fixedArray::fixedArray
fixedArray()
Definition:
fixedArray.h:6
fixedArray::operator[]
T & operator[](const unsigned int i)
Definition:
fixedArray.h:10
T
long double T
Definition:
Basic3DVectorLD.h:59
fixedArray::content
T content[S]
Definition:
fixedArray.h:15
fixedArray
Definition:
fixedArray.h:4
Generated for CMSSW Reference Manual by
1.8.5