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

◆ Put() [4/25]

static void Sdp::Put ( const char *  name,
const SdsId value,
StatusType *  status 
)
inlinestatic

Put a 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 scaler or strings, they will be converted if possible.
Otherwise, a conversion error will occur.

To put the value of a structured SDS item, use SdpGetSds() to get an id for it and then write the value using that id. Follow your update by a call to SdpUpdate. Alternatively, use SdsPutStruct() which replaces the old structure with a new one.

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