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