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

◆ Insert() [2/2]

template<class ContainerType >
void drama::sds::Id::Insert ( Id to_insert,
const ContainerType dims 
)
inline

Insert an SDS object into this object, which is a structured array.

This method inserts a top level object into a structure array at a position specified by the indices. It deletes any object that is currently at that position.

See also
SdsInsertCell()
sds::Id::FillArray
Parameters
to_insertThe object to insert.
dimsThe cell indicies. A container giving each index. It must be possible to convert the elements to unsigned long int and a maximum of 7 dimensions are supported.
Template Parameters
ContainerTypeA container with a size() method and which can be used to initialize a vector of unsigned long.

References drama::CreateRunDramaTask(), DramaTHROW, and DramaTHROW_S.