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

◆ Put() [3/3]

template<typename T >
void drama::ParSys::Put ( const std::string &  name,
value 
)
inline

Update parameter from primitive value.

If the named item exists within the parameter system, then convert the supplied value to the type of the parameter (if possible) and insert the value into the parameter.

Supports the various primitive types - bool, char, short, unsigned short, INT32, UINT32, INT64, UINT64, float and double. Also the string representations char* and std::string.

There are specific implementations (PutSds...()) for the various SDS cases, for cases where using ParSys is not appropriate.

Parameters
nameThe name of the parameter to set
valueThe new value for the parameter.

References drama::CreateRunDramaTask(), and DramaTHROW_S.