CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

edm::TransientDataFrame< SIZE > Class Template Reference

#include <TransientDataFrame.h>

List of all members.

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 (id_type i)
 TransientDataFrame (DataFrame const &iframe)
 TransientDataFrame ()

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.

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

Definition at line 23 of file TransientDataFrame.h.

: m_id(i) {}
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.

                                                 : 
      m_id(iframe.id())
    {
      data_type const * p = iframe.begin();
      std::copy(p,p+SIZE,m_data);
    }

Member Function Documentation

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

Definition at line 41 of file TransientDataFrame.h.

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

{ 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.

                                         {
      return m_data[i];
    } 
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.

                                     {
      return m_data[i];
    } 
template<unsigned int SIZE>
int edm::TransientDataFrame< SIZE >::size ( void  ) const [inline]

Definition at line 31 of file TransientDataFrame.h.

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