AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ GetDims()

template<class ContainerType >
void drama::sds::Id::GetDims ( ContainerType dims) 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 sds::Id::GetName, sds::Id::Code and sds::Id::Dims, then use sds::Id::Info, it is more efficient.

See also
SdsGetDims()
SdsInfo()
Parameters
dimsThe dimensions are returned here. This is the address of a container. The container is cleared before the dimensions are pushed into it.
Template Parameters
ContainerTypeA container with "clear()" and "push_back()" methods. The push_back() must accept unsigned long items.

References drama::CreateRunDramaTask(), and DramaTHROW.

Referenced by drama::sds::IdIterator::IdIterator(), and ArrayAccess().