log4cplus
1.1.0
|
#include <socketbuffer.h>
Public Member Functions | |
SocketBuffer (std::size_t max) | |
virtual | ~SocketBuffer () |
char * | getBuffer () const |
std::size_t | getMaxSize () const |
std::size_t | getSize () const |
void | setSize (std::size_t s) |
std::size_t | getPos () const |
unsigned char | readByte () |
unsigned short | readShort () |
unsigned int | readInt () |
tstring | readString (unsigned char sizeOfChar) |
void | appendByte (unsigned char val) |
void | appendShort (unsigned short val) |
void | appendInt (unsigned int val) |
void | appendString (const tstring &str) |
void | appendBuffer (const SocketBuffer &buffer) |
Definition at line 42 of file socketbuffer.h.
log4cplus::helpers::SocketBuffer::SocketBuffer | ( | std::size_t | max | ) | [explicit] |
virtual log4cplus::helpers::SocketBuffer::~SocketBuffer | ( | ) | [virtual] |
void log4cplus::helpers::SocketBuffer::appendBuffer | ( | const SocketBuffer & | buffer | ) |
void log4cplus::helpers::SocketBuffer::appendByte | ( | unsigned char | val | ) |
void log4cplus::helpers::SocketBuffer::appendInt | ( | unsigned int | val | ) |
void log4cplus::helpers::SocketBuffer::appendShort | ( | unsigned short | val | ) |
void log4cplus::helpers::SocketBuffer::appendString | ( | const tstring & | str | ) |
char* log4cplus::helpers::SocketBuffer::getBuffer | ( | ) | const [inline] |
Definition at line 48 of file socketbuffer.h.
std::size_t log4cplus::helpers::SocketBuffer::getMaxSize | ( | ) | const [inline] |
Definition at line 49 of file socketbuffer.h.
std::size_t log4cplus::helpers::SocketBuffer::getPos | ( | ) | const [inline] |
Definition at line 52 of file socketbuffer.h.
std::size_t log4cplus::helpers::SocketBuffer::getSize | ( | ) | const [inline] |
Definition at line 50 of file socketbuffer.h.
unsigned char log4cplus::helpers::SocketBuffer::readByte | ( | ) |
unsigned int log4cplus::helpers::SocketBuffer::readInt | ( | ) |
unsigned short log4cplus::helpers::SocketBuffer::readShort | ( | ) |
tstring log4cplus::helpers::SocketBuffer::readString | ( | unsigned char | sizeOfChar | ) |
void log4cplus::helpers::SocketBuffer::setSize | ( | std::size_t | s | ) | [inline] |
Definition at line 51 of file socketbuffer.h.