00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
#ifndef _SVNCPP_POOL_H_
00015
#define _SVNCPP_POOL_H_
00016
00017
00018
#include "svn_pools.h"
00019
00020
00021
namespace svn
00022 {
00026 class Pool
00027 {
00028
public:
00034
Pool (apr_pool_t * parent = (apr_pool_t *)0);
00035
00036
virtual ~ Pool ();
00037
00041 apr_pool_t *
00042
pool ()
const;
00043
00047 operator apr_pool_t * ()
const
00048
{
00049
return m_pool;
00050 }
00051
00055
void renew ();
00056
private:
00057 apr_pool_t * m_parent;
00058 apr_pool_t * m_pool;
00059
00060
Pool& operator=(
const Pool&);
00061
00062
Pool (
const Pool &);
00063
00064
00065 };
00066 }
00067
00068
#endif
00069
00070
00071
00072
00073
00074