Go to the documentation of this file.
32 #ifndef WORKSPACE_NG_INCLUDED
33 #define WORKSPACE_NG_INCLUDED
85 return ((
ws[i].size () != 0)
86 && (
ws[i].top()->initialized ==
true)); }
109 template <
typename OutputStream>
void
124 template <
typename OutputStream,
typename Container>
void
127 for (
typename Container::const_iterator it = container.begin ();
128 it != container.end (); it++ )
static Array< WsvRecord > wsv_data
void * pop(Index i)
Pop the topmost wsv from its stack.
This file contains the definition of Array.
String context
Only for debugging.
This can be used to make arrays out of anything.
Array< stack< WsvStruct * > > ws
Workspace variable container.
static void define_wsv_data()
void * operator[](Index i)
Retrieve pointer to the given WSV.
void del(Index i)
Delete WSV.
void pop_free(Index i)
Pop the topmost wsv from its stack and free its memory.
void PrintWsvName(OutputStream &outstream, Index i)
Print WSV name to output stream.
void push(Index i, void *wsv)
Push a new wsv onto its stack.
void duplicate(Index i)
Duplicate WSV.
void push_uninitialized(Index i, void *wsv)
Push a new wsv onto its stack but mark it as uninitialized.
Workspace()
Construct a new workspace.
This class contains all static information for one workspace variable.
static map< String, Index > WsvMap
static Index add_wsv(const WsvRecord &wsv)
virtual ~Workspace()
Destruct the workspace.
bool is_initialized(Index i)
Checks existence of the given WSV.
INDEX Index
The type to use for all integer numbers and indices.
static void define_wsv_map()
Auxiliary header stuff related to workspace variable groups.
void PrintWsvNames(OutputStream &outstream, const Container &container)
Print list of WSV names to output stream.