CMS 3D CMS Logo

Public Member Functions | Private Attributes

HeaderView Class Reference

#include <MsgHeader.h>

List of all members.

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 code_, Header::code_, convert32(), h, Header::size_, and size_.

  {
    Header* h = (Header*)buf;
    code_ = h->code_;
    size_ = convert32(h->size_);
  }

Member Function Documentation

uint32 HeaderView::code ( ) const [inline]
uint32 HeaderView::size ( void  ) const [inline]

Member Data Documentation

Definition at line 37 of file MsgHeader.h.

Referenced by code(), and HeaderView().

Definition at line 38 of file MsgHeader.h.

Referenced by HeaderView(), and size().