CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HeaderView Class Reference

#include <MsgHeader.h>

Public Member Functions

uint32 code () const
 
 HeaderView (void *buf)
 
uint32 size () const
 

Private Attributes

uint32 code_
 
uint32 size_
 

Detailed Description

Definition at line 35 of file MsgHeader.h.

Constructor & Destructor Documentation

HeaderView::HeaderView ( void *  buf)
inline

Definition at line 37 of file MsgHeader.h.

References Header::code_, convert32(), h, and Header::size_.

37  {
38  Header* h = (Header*)buf;
39  code_ = h->code_;
40  size_ = convert32(h->size_);
41  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
uint32 code_
Definition: MsgHeader.h:47
uint8 code_
Definition: MsgHeader.h:9
char_uint32 size_
Definition: MsgHeader.h:10
uint32 convert32(char_uint32 v)
Definition: MsgTools.h:28
uint32 size_
Definition: MsgHeader.h:48

Member Function Documentation

uint32 HeaderView::code ( ) const
inline

Definition at line 43 of file MsgHeader.h.

References Header::code_.

Referenced by edm::StreamerInputFile::readEventMessage(), and edm::StreamerInputFile::readStartMessage().

43 { return code_; }
uint32 code_
Definition: MsgHeader.h:47
uint32 HeaderView::size ( void  ) const
inline

Member Data Documentation

uint32 HeaderView::code_
private

Definition at line 47 of file MsgHeader.h.

uint32 HeaderView::size_
private

Definition at line 48 of file MsgHeader.h.