AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ Dims()

void SdsId::Dims ( long *const  ndims,
unsigned long *const  dims,
StatusType *const  status 
) const
inline

Return the dimensions of the SDS item.

Just return the dimensions of the underlying SDS item.

Note that if you want more then one of the items returned by SdsId::GetName, SdsId::Code and SdsId::Dims, then use SdsId::Info, it is more efficent.

See also
SdsId::Info
SdsInfo()
Parameters
ndimsThe number of dimensions is returned here, 0 if the item is not an array, otherwise, 1 through 7.
dimsThe dimensions are retuned here. This should be an array of 7 items.
statusInherited status.