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

◆ PutSdsReplaceByCopy()

void drama::ParSys::PutSdsReplaceByCopy ( const std::string &  name,
const sds::Id value,
const bool  create = true 
)

Put a SDS item a named parameter - replacing the existing item.

An SDS item is written into a named parameter. Rather then convering the value with ArgCvt(), the supplied value will replace the existing parameter entirely.

In this version (const sds::Id & value) the value is copied using Id.Copy() and then the copy is inserted into the parameter system.

See also
SdpPutSds()
SdpPutStruct()
ArgCvt()
Parameters
nameThe name of the parameter.
valueThe value to be inserted.
createIf true, then the parameter is created if it does not already exist. Otherwise it must exist.