ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <EncodedBlock.hpp>
Classes | |
struct | State |
struct | Type |
Public Member Functions | |
EncodedBlock () | |
Type::_v | getType () const |
bool | isValid () const |
void | setType (const Type::_v type) |
void | setExpectedSize (const int expectedSize) |
void | clear () |
State::_v | append (const DataBlock &chunk) |
![]() | |
DataBlock (const bool deepCopy=false) | |
DataBlock (const char *buffer, const int size, const bool deepCopy=false) noexcept(false) | |
DataBlock (const DataBlock &other) noexcept(false) | |
virtual | ~DataBlock () |
int | getMaxSize () const |
int | getSize () const |
const char * | getData () const |
bool | isEmpty () const |
bool | deepCopy () const |
void | setSize (const int size) noexcept(false) |
DataBlock & | operator+= (const char c) noexcept(false) |
DataBlock & | operator+= (const DataBlock &right) noexcept(false) |
DataBlock & | operator+= (const std::string &str) noexcept(false) |
const char | operator[] (const int pos) const noexcept(false) |
char & | operator[] (const int pos) noexcept(false) |
void | append (const char *data, const int len) noexcept(false) |
void | append (const DataBlock &other) noexcept(false) |
void | assign (const DataBlock &right) noexcept(false) |
void | assign (const char *buffer, const int size) noexcept(false) |
DataBlock & | operator= (const DataBlock &right) noexcept(false) |
DataBlock & | operator= (const char c) noexcept(false) |
DataBlock & | operator= (const std::string &str) noexcept(false) |
void | allocate (const int nbytes) noexcept(false) |
void | clear () noexcept(false) |
void | remove (const int pos, const int nbytes) noexcept(false) |
void | remove (const int nbytes) noexcept(false) |
std::string | asString (const int characterByLine=24) const |
Additional Inherited Members | |
![]() | |
void | initialize (const char *buffer, const int size) noexcept(false) |
void | setBuffer (const char *buffer) |
void | setMaxSize (const int maxSize) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |