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

◆ PutSdsCvt()

void drama::ParSys::PutSdsCvt ( const std::string &  name,
const sds::Id value 
)

Put an SDS item a named parameter.

An SDS item is written into a named parameter. Conversion is carried out using ArgCvt. This means that if both input and output items are scalar or strings, they will be converted if possible.
Otherwise, a conversion error will occur.

If you are actually intending to update the value of a structured SDS item, you may instead want to use Get() to get an id for it and then write the value using drama::sds methods of that id. You must follow your update by a call to Update() to ensure parameter monitors are triggered.

See also
SdpPutSds()
SdpPutStruct()
ArgCvt()
Parameters
nameThe name of the parameter.
valueThe value to be inserted. T