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::HeaderView ( void *  buf)
inline

Definition at line 37 of file MsgHeader.h.

37  {
38  Header* h = (Header*)buf;
39  code_ = h->code_;
40  size_ = convert32(h->size_);
41  }

References visDQMUpload::buf, code_, convert32(), and size_.

Member Function Documentation

◆ code()

uint32 HeaderView::code ( ) const
inline

◆ size()

uint32 HeaderView::size ( void  ) const
inline

Member Data Documentation

◆ code_

uint32 HeaderView::code_
private

Definition at line 47 of file MsgHeader.h.

Referenced by code(), and HeaderView().

◆ size_

uint32 HeaderView::size_
private

Definition at line 48 of file MsgHeader.h.

Referenced by HeaderView(), and size().

Header
Definition: MsgHeader.h:6
convert32
uint32 convert32(char_uint32 v)
Definition: MsgTools.h:28
h
HeaderView::code_
uint32 code_
Definition: MsgHeader.h:47
HeaderView::size_
uint32 size_
Definition: MsgHeader.h:48
visDQMUpload.buf
buf
Definition: visDQMUpload.py:160