log4cplus  1.1.0
Public Member Functions
log4cplus::helpers::SocketBuffer Class Reference

#include <socketbuffer.h>

List of all members.

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]

Member Function Documentation

void log4cplus::helpers::SocketBuffer::appendByte ( unsigned char  val)
void log4cplus::helpers::SocketBuffer::appendInt ( unsigned int  val)
void log4cplus::helpers::SocketBuffer::appendShort ( unsigned short  val)

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.

void log4cplus::helpers::SocketBuffer::setSize ( std::size_t  s) [inline]

Definition at line 51 of file socketbuffer.h.


The documentation for this class was generated from the following file: