log4cplus_helpers_SocketBuffer(3)
| log4cplus::helpers::SocketBuffer(3) | log4cplus | log4cplus::helpers::SocketBuffer(3) |
NAME
log4cplus::helpers::SocketBuffer
SYNOPSIS
#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)
Detailed Description
Definition at line 42 of file socketbuffer.h.
Constructor & Destructor Documentation
log4cplus::helpers::SocketBuffer::SocketBuffer (std::size_t max) [explicit]
virtual log4cplus::helpers::SocketBuffer::~SocketBuffer () [virtual]
Member Function Documentation
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.
Author
Generated automatically by Doxygen for log4cplus from the source code.
| Mon Jun 5 2023 21:46:10 | Version 2.0.7 |
