csCleanup
In file include/csutil/cleanup.h:
class csCleanup : public csVector
This general class holds a number of csCleanable
classes which it will clean up at destruction
Inheritance:
Public Methods
-
csCleanup()
- Construct.
Public Methods
bool Delete(int n)
void DeleteAll()
virtual bool Equal(csSome Item, csConstSome Key)
int Find(csSome which)
int FindKey(csConstSome value)
virtual bool FreeItem(csSome Item)
inline csSome& Get(int n)
bool Insert(int n, csSome Item)
inline int Length()
inline csSome& operator [] (int n)
inline csSome Pop()
inline void Push(csSome what)
void SetLength(int n)
Inherited from csBase:
Documentation
This general class holds a number of csCleanable
classes which it will clean up at destruction. This
system is useful for allocating stuff for data structures
for which there is no clear place to deallocate them. They
can be put in this class and they will be deallocated when
this class is.
csCleanup()
- Construct.
- This class has no child classes.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de