CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
edm::TransientDataFrame< SIZE > Class Template Reference

#include <TransientDataFrame.h>

Public Types

typedef DataFrame::data_type data_type
 
typedef DataFrame::id_type id_type
 

Public Member Functions

id_type id () const
 
data_type operator[] (size_t i) const
 
data_typeoperator[] (size_t i)
 
int size () const
 
 TransientDataFrame ()
 
 TransientDataFrame (id_type i)
 
 TransientDataFrame (DataFrame const &iframe)
 

Private Attributes

data_type m_data [SIZE]
 
id_type m_id
 

Detailed Description

template<unsigned int SIZE>
class edm::TransientDataFrame< SIZE >

Definition at line 16 of file TransientDataFrame.h.

Member Typedef Documentation

template<unsigned int SIZE>
typedef DataFrame::data_type edm::TransientDataFrame< SIZE >::data_type

Definition at line 19 of file TransientDataFrame.h.

template<unsigned int SIZE>
typedef DataFrame::id_type edm::TransientDataFrame< SIZE >::id_type

Definition at line 20 of file TransientDataFrame.h.

Constructor & Destructor Documentation

template<unsigned int SIZE>
edm::TransientDataFrame< SIZE >::TransientDataFrame ( )
inline

Definition at line 22 of file TransientDataFrame.h.

22 {}
template<unsigned int SIZE>
edm::TransientDataFrame< SIZE >::TransientDataFrame ( id_type  i)
inline

Definition at line 23 of file TransientDataFrame.h.

23 : m_id(i) {}
int i
Definition: DBlmapReader.cc:9
template<unsigned int SIZE>
edm::TransientDataFrame< SIZE >::TransientDataFrame ( DataFrame const &  iframe)
inline

Definition at line 24 of file TransientDataFrame.h.

References edm::DataFrame::begin(), filterCSVwithJSON::copy, edm::TransientDataFrame< SIZE >::m_data, and AlCaHLTBitMon_ParallelJobs::p.

24  :
25  m_id(iframe.id())
26  {
27  data_type const * p = iframe.begin();
28  std::copy(p,p+SIZE,m_data);
29  }
DataFrame::data_type data_type

Member Function Documentation

template<unsigned int SIZE>
id_type edm::TransientDataFrame< SIZE >::id ( ) const
inline

Definition at line 41 of file TransientDataFrame.h.

References edm::TransientDataFrame< SIZE >::m_id.

41 { return m_id; }
template<unsigned int SIZE>
data_type edm::TransientDataFrame< SIZE >::operator[] ( size_t  i) const
inline

Definition at line 33 of file TransientDataFrame.h.

References i, and edm::TransientDataFrame< SIZE >::m_data.

33  {
34  return m_data[i];
35  }
int i
Definition: DBlmapReader.cc:9
template<unsigned int SIZE>
data_type& edm::TransientDataFrame< SIZE >::operator[] ( size_t  i)
inline

Definition at line 37 of file TransientDataFrame.h.

References i, and edm::TransientDataFrame< SIZE >::m_data.

37  {
38  return m_data[i];
39  }
int i
Definition: DBlmapReader.cc:9
template<unsigned int SIZE>
int edm::TransientDataFrame< SIZE >::size ( void  ) const
inline

Definition at line 31 of file TransientDataFrame.h.

31 { return SIZE;}

Member Data Documentation

template<unsigned int SIZE>
data_type edm::TransientDataFrame< SIZE >::m_data[SIZE]
private
template<unsigned int SIZE>
id_type edm::TransientDataFrame< SIZE >::m_id
private

Definition at line 44 of file TransientDataFrame.h.

Referenced by edm::TransientDataFrame< SIZE >::id().