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

◆ Put() [5/31]

void Arg::Put ( const char *  name,
const long  dim,
const unsigned char  data[],
StatusType *const  status 
)
inline

Insert an array of unsigned char 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_UBYTE) and the specified value inserted.

This does not convert items like the other Arg routines - if the item already exists it must be at least as long as required and of the same type.

See also
ArgPut1DArrayB()
Parameters
nameThe name of the item within the SDS structure.
dimNumber of elements in array. If array does not already exist, it will be created with this number of elements. If it does exist, it must have at least this number of elements
dataThe data to be inserted.
statusInherited status.