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

◆ PutSdsReplaceByInsert()

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

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

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

In this version (sds::Id *value) the value SDS item passed in is inserted directly into the parameter, after being renamed to the specified name. It must not be an external SDS item.

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