"Data Type Codes
"section below for the code appropriate to each supported data type). The stored value is converted to the data type indiced by X before being returned (an error is reported if it is not possible to convert the stored value to the requested data type). Note, the astMapGet1C function has an extra parameter
"which specifies the maximum length of each string to be stored in the
"buffer (see the
"array. Any unused elements of the array are left unchanged.
No error is reported if the requested key cannot be found in the given KeyMap, but a zero value will be returned as the function value. The supplied array will be returned unchanged.
If the stored value is a scalar value, then the value will be returned in the first element
of the supplied array, and
" will be returned set to 1.
"buffer supplied to the astMapGet1C function should be a pointer to a character array with
"is the maximum length of a string to be returned. The value of
"should be supplied as an extra parameter following
"when invoking astMapGet1C, and should include space for a terminating null character.
" pointer to null terminated character string
A: Pointer to AstObject
S: short int
B: Unsigned byte (i.e. char)
For example, astMapGet1D would be used to get
" values, while astMapGet1I would
be used to get
" values, etc. For D or I, the supplied
" parameter should
be a pointer to an array of doubles or ints, with
" elements. For C, the
" parameter should be a pointer to a character string with
elements. For A, the supplied
" parameter should be a pointer to an array of