Return pointers for all active Objects
"
FrameSet"
, "
SkyFrame"
, "
ZoomMap"
, etc. The value of the entry will be a 1-dimensional list of pointers for
objects of the same class. Note, the returned pointers should NOT be annulled when they
are no longer needed.
The pointers to return in the KeyMap may be restricted either by class or by context level using the function arguments.
"
class"
should be
a pointer to a null-terminated string holding the name of an AST class. The
returned KeyMap will contain pointers only for the specified class. See also
"
subclass"
. "
class"
should be included in the returned KeyMap. If
zero, then subclass objects are not returned. Otherwise they are returned.
The supplied "
subclass"
value is ignored if "
class"
is NULL. The values stored in the KeyMap should be accessed as generic C pointers using the
KeyMap "
P"
data type (e.g. using function astMapGetlemP etc).
This function will only return objects locked by the currently executing thread.
The KeyMap pointer returned by this function is not included in the list of active objects stored in the KeyMap.
Objects that were created using the Fortran interface will have a null "
file"
value
and will have a routine name equal to the upper case Fortran routine that issued the
pointer (e.g. "
AST_CLONE"
, "
AST_FRAME"
, etc).