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

◆ Put() [27/31]

void Arg::Put ( const std::string &  name,
short  value,
StatusType *const  status,
const std::string &  extraData = "" 
)
inline

Insert a short value into a named component of the Arg structure.

The named item is created in the current structure if it does not already exist (of SDS type SDS_SHORT) and the specified value inserted. If the name item already exists, then the value is converted to that type (if possible) and inserted.

Remarks
Only available if the marcro DRAMA_ALLOW_CPP_STDLIB is defined.
See also
ArgPuts()
SdsPutExtra()
Parameters
nameThe name of the item within the SDS structure.
valueThe value to be inserted.
statusInherited status.
extraDataExtra data to be associated with this item, see SdsPutExtra(). If not empty, this will be associated with the item.

References PutExtra().