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

◆ Put() [20/31]

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

Insert a boolean 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 (after conversion to unsigned short). If the name item already exists, then the value is converted to that type (if possible) and inserted.

Note that SDS does not directly support boolean values, so an integer representation is used.

Remarks
Only available if the marcro DRAMA_ALLOW_CPP_STDLIB is defined.
See also
ArgPutus()
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().