OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <Format.h>
Public Member Functions | |
Format (Message *) | |
unsigned int | getItemCount () |
unsigned int | getSize () |
unsigned int | getFormatSize () |
unsigned int | getItemElems (int i) |
unsigned int | getItemBytes (int i) |
void | print () |
Private Attributes | |
unsigned int | items |
unsigned int | size |
std::vector< unsigned int > | format_array |
Format::Format | ( | Message * | msg | ) |
Definition at line 21 of file Format.cpp.
References format_array, Message::item(), items, Message::MsgItem::numBytes(), Message::MsgItem::numElems(), size, and Message::size().
|
inline |
|
inline |
Definition at line 42 of file Format.h.
References format_array.
Referenced by MsgBuffer::add(), and MsgBuffer::get().
|
inline |
Definition at line 30 of file Format.h.
References items.
Referenced by MsgBuffer::add(), and MsgBuffer::get().
|
inline |
Definition at line 39 of file Format.h.
References format_array.
Referenced by MsgBuffer::add(), and MsgBuffer::get().
|
inline |
Definition at line 33 of file Format.h.
References size.
Referenced by MsgBuffer::get(), and MsgBuffer::MsgBuffer().
void Format::print | ( | ) |
Definition at line 36 of file Format.cpp.
References endl(), format_array, items, and size.
|
private |
Definition at line 50 of file Format.h.
Referenced by Format(), getItemBytes(), getItemElems(), and print().
|
private |
Definition at line 49 of file Format.h.
Referenced by Format(), getFormatSize(), getItemCount(), and print().
|
private |