Go to the documentation of this file.
28 #ifndef CASA_OBJECTSTACK_H
29 #define CASA_OBJECTSTACK_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/vector.h>
34 #include <casacore/casa/OS/Mutex.h>
139 #ifndef CASACORE_NO_AUTO_TEMPLATES
140 #include <casacore/casa/Containers/ObjectStack.tcc>
141 #endif //# CASACORE_NO_AUTO_TEMPLATES
~ObjectStack()
Destructor.
uInt nelements() const
return the stack extend (for debugging use and checking mainly)
ObjectStack< T > & operator=(const ObjectStack< T > &other)
this file contains all the compiler specific defines
ObjectStack(const ObjectStack< T > &other)
ObjectStack()
All ctor and assignment constructors and assignment (not implemented)
void clear()
Decimate the stack by getting rid of all unused elements in it.
void put(T *obj)
Return an object to the stack for re-use.
static ObjectStack< T > & stack()
Create a singleton stack.
vector< T * > stack_p
The Stack.
bool Bool
Define the standard types used by Casacore.
Bool empty()
Test if stack empty.
T * get()
Get a pointer to an object in the stack.