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

◆ PutStruct() [2/4]

static void Sdp::PutStruct ( const char *  name,
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 (SdsId *value) the value SDS item passed in is inserted directly, after being renamed to the specified name. It must not be an external item.

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

References SdsId::COut().