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

◆ IdIterator()

drama::sds::IdIterator::IdIterator ( const Id id,
const bool  setEnd = false 
)
inlineexplicit

Construct a forward iterator for working through an SDS structure or array of structures.

Currently, if an array of structures, this iterator can only work with a single dimensional array.

Parameters
idThe SDS structure we want to iterator through.
setEndIf true, the current cell is set to the end() value. Used to implement std::end().

References drama::CreateRunDramaTask(), DramaTHROW, DramaTHROW_S, drama::sds::Id::GetCode(), and drama::sds::Id::GetDims().