CMS 3D CMS Logo

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_typeoperator[] (size_t i)
 
data_type operator[] (size_t i) const
 
int size () const
 
 TransientDataFrame ()
 
 TransientDataFrame (DataFrame const &iframe)
 
 TransientDataFrame (id_type i)
 

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

◆ data_type

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

Definition at line 19 of file TransientDataFrame.h.

◆ id_type

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

Definition at line 20 of file TransientDataFrame.h.

Constructor & Destructor Documentation

◆ TransientDataFrame() [1/3]

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

Definition at line 22 of file TransientDataFrame.h.

22 {}

◆ TransientDataFrame() [2/3]

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

Definition at line 23 of file TransientDataFrame.h.

23 : m_id(i) {}

◆ TransientDataFrame() [3/3]

template<unsigned int SIZE>
edm::TransientDataFrame< SIZE >::TransientDataFrame ( DataFrame const &  iframe)
inline

Definition at line 24 of file TransientDataFrame.h.

24  :
25  m_id(iframe.id())
26  {
27  data_type const * p = iframe.begin();
29  }

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

Member Function Documentation

◆ id()

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

Definition at line 41 of file TransientDataFrame.h.

41 { return m_id; }

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

◆ operator[]() [1/2]

template<unsigned int SIZE>
data_type& edm::TransientDataFrame< SIZE >::operator[] ( size_t  i)
inline

Definition at line 37 of file TransientDataFrame.h.

37  {
38  return m_data[i];
39  }

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

◆ operator[]() [2/2]

template<unsigned int SIZE>
data_type edm::TransientDataFrame< SIZE >::operator[] ( size_t  i) const
inline

Definition at line 33 of file TransientDataFrame.h.

33  {
34  return m_data[i];
35  }

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

◆ size()

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

Member Data Documentation

◆ m_data

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

◆ m_id

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().

mps_fire.i
i
Definition: mps_fire.py:428
edm::TransientDataFrame::m_id
id_type m_id
Definition: TransientDataFrame.h:44
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
edm::TransientDataFrame::data_type
DataFrame::data_type data_type
Definition: TransientDataFrame.h:19
edm::TransientDataFrame::m_data
data_type m_data[SIZE]
Definition: TransientDataFrame.h:45
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
StopReason::SIZE