#include <Janitor.hpp>
Inheritance diagram for Janitor< T >:
Public Member Functions | |
Janitor (T *const toDelete) | |
~Janitor () | |
void | orphan () |
T & | operator * () const |
T * | operator-> () const |
T * | get () const |
T * | release () |
void | reset (T *p=0) |
Private Member Functions | |
Janitor () | |
Janitor (const Janitor< T > &) | |
Private Attributes | |
T * | fData |
Definition at line 115 of file Janitor.hpp.
Revision 1.1 2003/10/25 10:24:03 roefer Xerces added for SimRobXP
Revision 1.1.1.1 2003/09/02 14:51:15 roefer Pre-alpha version, not functional
Revision 1.4 2003/05/21 03:34:52 jberry Cast away CodeWarrior complaint of casting away const if we're holding a const obj
Revision 1.3 2003/05/15 19:04:35 knoaman Partial implementation of the configurable memory manager.
Revision 1.2 2002/11/04 15:22:04 tng C++ Namespace Support.
Revision 1.1.1.1 2002/02/01 22:22:10 peiyongz sane_include
Revision 1.6 2000/10/13 22:45:11 andyh Complete removal of ArrayJanitory::operator->(). Was just commented out earlier.
Revision 1.5 2000/10/10 23:52:10 andyh From Janitor, remove the addition that is having compile problems in MSVC.
Revision 1.4 2000/10/09 18:32:31 jberry Add some auto_ptr functionality to allow modification of monitored pointer value. This eases use of Janitor in some situations.
Revision 1.3 2000/03/02 19:54:40 roddey This checkin includes many changes done while waiting for the 1.1.0 code to be finished. I can't list them all here, but a list is available elsewhere.
Revision 1.2 2000/02/06 07:48:02 rahulj Year 2K copyright swat.
Revision 1.1.1.1 1999/11/09 01:04:26 twl Initial checkin
Revision 1.2 1999/11/08 20:45:08 rahul Swat for adding in Product name and CVS comment log variable.
T * Janitor< T >::get | ( | ) | const |
T & Janitor< T >::operator * | ( | ) | const |
T * Janitor< T >::operator-> | ( | ) | const |
void Janitor< T >::orphan | ( | ) |
T * Janitor< T >::release | ( | ) |
Definition at line 163 of file Janitor.c.
References Janitor< T >::fData.
Referenced by Janitor< T >::orphan().
void Janitor< T >::reset | ( | T * | p = 0 |
) |
Definition at line 171 of file Janitor.c.
References Janitor< T >::fData.
Referenced by Janitor< T >::~Janitor().
Definition at line 150 of file Janitor.hpp.
Referenced by Janitor< T >::get(), Janitor< T >::operator *(), Janitor< T >::operator->(), Janitor< T >::release(), and Janitor< T >::reset().