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 24 of file MsgHeader.h.

Constructor & Destructor Documentation

HeaderView::HeaderView ( void *  buf)
inline

Definition at line 27 of file MsgHeader.h.

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

28  {
29  Header* h = (Header*)buf;
30  code_ = h->code_;
31  size_ = convert32(h->size_);
32  }
uint32 code_
Definition: MsgHeader.h:37
uint8 code_
Definition: MsgHeader.h:11
char_uint32 size_
Definition: MsgHeader.h:12
uint32 convert32(char_uint32 v)
Definition: MsgTools.h:30
uint32 size_
Definition: MsgHeader.h:38

Member Function Documentation

uint32 HeaderView::code ( ) const
inline

Definition at line 34 of file MsgHeader.h.

References Header::code_.

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

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

Member Data Documentation

uint32 HeaderView::code_
private

Definition at line 37 of file MsgHeader.h.

uint32 HeaderView::size_
private

Definition at line 38 of file MsgHeader.h.