Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

svn::Pool Class Reference

#include <pool.hh>

Inheritance diagram for svn::Pool:

apr::Pool List of all members.

Public Member Functions

 Pool ()
 Creates a new global pool.

 Pool (Pool &parent)
 Creates a new subpool.

 Pool (apr_pool_t *pool)
 Wraps a C reference.

void clear ()
 Clears the pool.

 ~Pool ()
 Destroys the pool.


Constructor & Destructor Documentation

svn::Pool::Pool  ) 
 

Creates a new global pool.

An error pool will be created.

If anything goes wrong with the pool creation, an abort function will be called, which will exit the program. If future allocations from this pool cannot be fulfilled, then the abort functions will be called, terminating the program.

Reimplemented from apr::Pool.

Definition at line 6 of file svn/pool.cc.

svn::Pool::Pool Pool parent  ) 
 

Creates a new subpool.

Inherits the containing pool's dedicated error subpool.

If anything goes wrong with the pool creation, an abort function will be called, which will exit the program. If future allocations from this pool cannot be fulfilled, then the abort functions will be called, terminating the program.

Reimplemented from apr::Pool.

Definition at line 10 of file svn/pool.cc.

svn::Pool::Pool apr_pool_t *  pool  )  [inline, explicit]
 

Wraps a C reference.

*

Reimplemented from apr::Pool.

Definition at line 33 of file svn/pool.hh.

svn::Pool::~Pool  )  [virtual]
 

Destroys the pool.

*

Reimplemented from apr::Pool.

Definition at line 14 of file svn/pool.cc.


Member Function Documentation

void svn::Pool::clear  )  [virtual]
 

Clears the pool.

apr::Pool::clear() removes the association with the appropriate error pool. This clears the pool and reattaches or recreates the error pool.

Reimplemented from apr::Pool.

Definition at line 20 of file svn/pool.cc.


The documentation for this class was generated from the following files:
Generated on Fri Feb 4 11:13:31 2005 for svnapi++ by doxygen 1.3.5