qpid::RefCountedBuffer Class Reference

Reference-counted byte buffer. More...

#include <RefCountedBuffer.h>

List of all members.

Public Member Functions

char * get ()
 Get a pointer to the start of the buffer.
const char * get () const
char & operator[] (size_t i)
const char & operator[] (size_t i) const
void addRef () const
void release () const
long refCount ()

Static Public Member Functions

static pointer create (size_t n)
 Create a reference counted buffer of size n.

Classes

class  pointer
 Smart char pointer to a reference counted buffer. More...


Detailed Description

Reference-counted byte buffer.

No alignment guarantees.

Definition at line 35 of file RefCountedBuffer.h.


Member Function Documentation

char* qpid::RefCountedBuffer::get (  )  [inline]

Get a pointer to the start of the buffer.

Definition at line 70 of file RefCountedBuffer.h.


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

Generated on Thu Oct 16 13:37:57 2008 for Qpid by  doxygen 1.5.6