Adbase
Adinf C++ base library V2
|
#include <Context.hpp>
Public Member Functions | |
Context () | |
~Context () | |
void | setAsciiBuffer (const char *data, size_t len) |
const char * | getAsciiBuffer (size_t &len) |
int | getAsciiBufferSize () |
void | setAsciiCmd (AsciiCmd cmd) |
AsciiCmd | getAsciiCmd () |
Definition at line 19 of file Context.hpp.
adbase::mc::Context::Context | ( | ) |
Definition at line 8 of file Context.cpp.
adbase::mc::Context::~Context | ( | ) |
Definition at line 14 of file Context.cpp.
const char * adbase::mc::Context::getAsciiBuffer | ( | size_t & | len | ) |
Definition at line 27 of file Context.cpp.
References adbase::Buffer::peek(), adbase::Buffer::readableBytes(), and adbase::Buffer::retrieve().
Referenced by adbase::mc::Ascii::processData().
int adbase::mc::Context::getAsciiBufferSize | ( | ) |
Definition at line 36 of file Context.cpp.
References adbase::Buffer::readableBytes().
Referenced by adbase::mc::Ascii::processData().
|
inline |
Definition at line 31 of file Context.hpp.
Referenced by adbase::mc::Ascii::processData().
void adbase::mc::Context::setAsciiBuffer | ( | const char * | data, |
size_t | len | ||
) |
Definition at line 20 of file Context.cpp.
References adbase::Buffer::append().
Referenced by adbase::mc::Ascii::processData().
|
inline |
Definition at line 27 of file Context.hpp.
Referenced by adbase::mc::Ascii::processData().