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

◆ Put() [30/31]

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

Insert an unsigned 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_USHORT) 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
ArgPutus()
Parameters
nameThe name of the item within the SDS structure.
valueThe value to be inserted.
statusInherited status.