Apache log4cxx  Version 0.12.0
log4cxx::helpers::Pool Class Reference

#include <pool.h>

Public Member Functions

 Pool ()
 
 Pool (apr_pool_t *pool, bool release)
 
 ~Pool ()
 
apr_pool_t * getAPRPool ()
 
apr_pool_t * create ()
 
void * palloc (size_t length)
 
char * pstralloc (size_t length)
 
char * itoa (int n)
 
char * pstrndup (const char *s, size_t len)
 
char * pstrdup (const char *s)
 
char * pstrdup (const std::string &)
 

Protected Attributes

apr_pool_t * pool
 
const bool release
 

Constructor & Destructor Documentation

◆ Pool() [1/2]

log4cxx::helpers::Pool::Pool ( )

◆ Pool() [2/2]

log4cxx::helpers::Pool::Pool ( apr_pool_t *  pool,
bool  release 
)

◆ ~Pool()

log4cxx::helpers::Pool::~Pool ( )

Member Function Documentation

◆ create()

apr_pool_t* log4cxx::helpers::Pool::create ( )

◆ getAPRPool()

apr_pool_t* log4cxx::helpers::Pool::getAPRPool ( )

◆ itoa()

char* log4cxx::helpers::Pool::itoa ( int  n)

◆ palloc()

void* log4cxx::helpers::Pool::palloc ( size_t  length)

◆ pstralloc()

char* log4cxx::helpers::Pool::pstralloc ( size_t  length)

◆ pstrdup() [1/2]

char* log4cxx::helpers::Pool::pstrdup ( const char *  s)

◆ pstrdup() [2/2]

char* log4cxx::helpers::Pool::pstrdup ( const std::string &  )

◆ pstrndup()

char* log4cxx::helpers::Pool::pstrndup ( const char *  s,
size_t  len 
)

Member Data Documentation

◆ pool

apr_pool_t* log4cxx::helpers::Pool::pool
protected

◆ release

const bool log4cxx::helpers::Pool::release
protected

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