AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ PutStruct() [3/4]

static void Sdp::PutStruct ( const std::string &  name,
const SdsId value,
StatusType *  status,
const bool  create = true 
)
inlinestatic

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

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

In this version (const SdsId & value) the value is copied using SdsCopy() and then the copy is inserted into SDS.

Remarks
Only available if the macro DRAMA_ALLOW_CPP_STDLIB is defined.
See also
SdpPutSds()
SdpPutStruct()
ArgCvt()
Sdp::GetSds
Parameters
nameThe name of the parameter.
valueThe value to be inserted.
statusInherited status.
createIf true, then the parameter is created if it does not already exist. Otherwise it must exist.