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

◆ Put() [11/31]

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

Insert a std::string into a named component of the Arg structure.

The named item is created in the current structure if it does not already exist (array of SDS type SDS_CHAR) 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
ArgPutString()
SdsPutExtra()
Parameters
nameThe name of the item within the SDS structure.
valueThe value to be inserted. The null terminated string extracted form this is what is 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().