#include <OtherMessage.h>
Public Member Functions | |
uint32 | bodySize () const |
uint32 | code () const |
uint8 * | msgBody () const |
OtherMessageView (void *buf) | |
uint32 | size () const |
uint8 * | startAddress () |
Private Attributes | |
uint8 * | buf_ |
Header * | head_ |
uint8 * | msg_body_start_ |
Definition at line 41 of file OtherMessage.h.
OtherMessageView::OtherMessageView | ( | void * | buf | ) | [inline] |
Definition at line 47 of file OtherMessage.h.
References buf_, and msg_body_start_.
uint32 OtherMessageView::bodySize | ( | ) | const [inline] |
Definition at line 58 of file OtherMessage.h.
References buf_, convert32(), head_, msg_body_start_, and Header::size_.
{ return convert32(head_->size_) - (msg_body_start_ - buf_); }
uint32 OtherMessageView::code | ( | ) | const [inline] |
Definition at line 54 of file OtherMessage.h.
References Header::code_, and head_.
uint8* OtherMessageView::msgBody | ( | ) | const [inline] |
Definition at line 56 of file OtherMessage.h.
References msg_body_start_.
{return msg_body_start_; }
uint32 OtherMessageView::size | ( | void | ) | const [inline] |
Definition at line 55 of file OtherMessage.h.
References convert32(), head_, and Header::size_.
uint8* OtherMessageView::startAddress | ( | ) | [inline] |
uint8* OtherMessageView::buf_ [private] |
Definition at line 63 of file OtherMessage.h.
Referenced by bodySize(), OtherMessageView(), and startAddress().
Header* OtherMessageView::head_ [private] |
Definition at line 65 of file OtherMessage.h.
Referenced by bodySize(), code(), and size().
uint8* OtherMessageView::msg_body_start_ [private] |
Definition at line 64 of file OtherMessage.h.
Referenced by bodySize(), msgBody(), and OtherMessageView().