28 #ifndef CASA_OBJECTSTACK_H
29 #define CASA_OBJECTSTACK_H
139 #ifndef CASACORE_NO_AUTO_TEMPLATES
140 #include <casacore/casa/Containers/ObjectStack.tcc>
141 #endif //# CASACORE_NO_AUTO_TEMPLATES
Bool empty()
Test if stack empty.
bool Bool
Define the standard types used by Casacore.
ObjectStack< T > & operator=(const ObjectStack< T > &other)
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.
Wrapper around a pthreads mutex.
uInt nelements() const
return the stack extend (for debugging use and checking mainly)
static ObjectStack< T > & stack()
Create a singleton stack.
ObjectStack()
All ctor and assignment constructors and assignment (not implemented)
vector< T * > stack_p
The Stack.
A stack of re-usable objects.
~ObjectStack()
Destructor.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.