Beam-lib 2.15.1 |
BBufferStore Class Reference
#include <BBuffer.h>
Inheritance diagram for BBufferStore:
Public Member Functions | |
BBufferStore (BUInt size=0, int swapBytes=BBigEndian) | |
~BBufferStore () | |
BUInt32 | getPos () |
void | setPos (BUInt32 pos) |
BString | getHexString () |
void | setHexString (BString s) |
int | push (BInt8 v) |
int | push (BUInt8 v) |
int | push (BInt16 v) |
int | push (BUInt16 v) |
int | push (BInt32 v) |
int | push (BUInt32 v) |
int | push (BInt64 v) |
int | push (BUInt64 v) |
int | push (BFloat32 v) |
int | push (BFloat64 v) |
int | push (const BString &v) |
int | push (const BError &v) |
int | push (const BTimeStamp &v) |
int | push (const BComplex &v) |
int | push (BUInt32 nBytes, const void *data, const char *swapType="1") |
int | pop (BInt8 &v) |
int | pop (BUInt8 &v) |
int | pop (BInt16 &v) |
int | pop (BUInt16 &v) |
int | pop (BInt32 &v) |
int | pop (BUInt32 &v) |
int | pop (BInt64 &v) |
int | pop (BUInt64 &v) |
int | pop (BFloat32 &v) |
int | pop (BFloat64 &v) |
int | pop (BString &v) |
int | pop (BError &v) |
int | pop (BTimeStamp &v) |
int | pop (BComplex &v) |
int | pop (BUInt32 nBytes, void *data, const char *swapType="1") |
Public Member Functions inherited from BBuffer | |
BBuffer (BUInt size=0) | |
Create and manipulate a data buffer. On creation the buffer size defaults to 1024 bytes. More... | |
~BBuffer () | |
int | setSize (BUInt32 size) |
Sets the bufer size. More... | |
int | setData (const void *data, BUInt32 size) |
Sets buffer data resized to contain the data. More... | |
int | writeData (BUInt32 pos, const void *data, BUInt32 size) |
Writes data into buffer from offset pos. More... | |
char * | data () |
The data. More... | |
BUInt32 | size () |
Size of the buffer in bytes. More... | |
int | resize (BUInt32 size) |
Alternative to setSize() More... | |
Protected Attributes | |
BUInt32 | opos |
int | oswapBytes |
Protected Attributes inherited from BBuffer | |
BUInt32 | odataSize |
char * | odata |
BUInt32 | osize |
Constructor & Destructor Documentation
◆ BBufferStore()
BBufferStore::BBufferStore | ( | BUInt | size = 0 , |
int | swapBytes = BBigEndian | ||
) |
◆ ~BBufferStore()
BBufferStore::~BBufferStore | ( | ) |
Member Function Documentation
◆ getHexString()
BString BBufferStore::getHexString | ( | ) |
◆ getPos()
BUInt32 BBufferStore::getPos | ( | ) |
◆ pop() [1/15]
int BBufferStore::pop | ( | BInt8 & | v | ) |
◆ pop() [2/15]
int BBufferStore::pop | ( | BUInt8 & | v | ) |
◆ pop() [3/15]
int BBufferStore::pop | ( | BInt16 & | v | ) |
◆ pop() [4/15]
int BBufferStore::pop | ( | BUInt16 & | v | ) |
◆ pop() [5/15]
int BBufferStore::pop | ( | BInt32 & | v | ) |
◆ pop() [6/15]
int BBufferStore::pop | ( | BUInt32 & | v | ) |
◆ pop() [7/15]
int BBufferStore::pop | ( | BInt64 & | v | ) |
◆ pop() [8/15]
int BBufferStore::pop | ( | BUInt64 & | v | ) |
◆ pop() [9/15]
int BBufferStore::pop | ( | BFloat32 & | v | ) |
◆ pop() [10/15]
int BBufferStore::pop | ( | BFloat64 & | v | ) |
◆ pop() [11/15]
int BBufferStore::pop | ( | BString & | v | ) |
◆ pop() [12/15]
int BBufferStore::pop | ( | BError & | v | ) |
◆ pop() [13/15]
int BBufferStore::pop | ( | BTimeStamp & | v | ) |
◆ pop() [14/15]
int BBufferStore::pop | ( | BComplex & | v | ) |
◆ pop() [15/15]
int BBufferStore::pop | ( | BUInt32 | nBytes, |
void * | data, | ||
const char * | swapType = "1" | ||
) |
◆ push() [1/15]
int BBufferStore::push | ( | BInt8 | v | ) |
◆ push() [2/15]
int BBufferStore::push | ( | BUInt8 | v | ) |
◆ push() [3/15]
int BBufferStore::push | ( | BInt16 | v | ) |
◆ push() [4/15]
int BBufferStore::push | ( | BUInt16 | v | ) |
◆ push() [5/15]
int BBufferStore::push | ( | BInt32 | v | ) |
◆ push() [6/15]
int BBufferStore::push | ( | BUInt32 | v | ) |
◆ push() [7/15]
int BBufferStore::push | ( | BInt64 | v | ) |
◆ push() [8/15]
int BBufferStore::push | ( | BUInt64 | v | ) |
◆ push() [9/15]
int BBufferStore::push | ( | BFloat32 | v | ) |
◆ push() [10/15]
int BBufferStore::push | ( | BFloat64 | v | ) |
◆ push() [11/15]
int BBufferStore::push | ( | const BString & | v | ) |
◆ push() [12/15]
int BBufferStore::push | ( | const BError & | v | ) |
◆ push() [13/15]
int BBufferStore::push | ( | const BTimeStamp & | v | ) |
◆ push() [14/15]
int BBufferStore::push | ( | const BComplex & | v | ) |
◆ push() [15/15]
int BBufferStore::push | ( | BUInt32 | nBytes, |
const void * | data, | ||
const char * | swapType = "1" | ||
) |
◆ setHexString()
void BBufferStore::setHexString | ( | BString | s | ) |
◆ setPos()
void BBufferStore::setPos | ( | BUInt32 | pos | ) |
Member Data Documentation
◆ opos
| protected |
◆ oswapBytes
| protected |
The documentation for this class was generated from the following files:
Generated by 1.8.14