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

◆ Set() [1/2]

template<class ContainerType , typename std::enable_if< std::is_base_of< std::string, typename ContainerType::value_type >::value >::type * = nullptr>
void drama::ArrayParameter< std::string >::Set ( const ContainerType vals,
bool  updateMonitors = true 
)
inline

Set the value of the parameter to the specified value.

Any monitors of the parameter are updated.

Template Parameters
ContainerTypeA container for which "container[index]" will return a std::string value (or a sub-class of std::string.
Parameters
valsThe new values for the parameter. If the container size is less then the parameter array size, then only that number of elements is placed. If the container size is greater then the array parameter size, then the extra elements are ignored.
updateMonitorsIf true, then any parameters monitors are updated. You might set this false if you know there are not any as yet or you are doing a series of quick updated.

References drama::CreateRunDramaTask(), drama::sds::ArrayWriteHelper< T >::DataAddress(), DramaTHROW, DramaTHROW_S, and drama::sds::Id::Find().