AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ Put() [5/5]

template<typename T >
void drama::sds::Id::Put ( value)
inline

Insert a primitive value into the item.

The current item should be a scalar item. The supplied value is converted if required and inserted.

Supports the various primitive types - bool, char, short, unsigned short, INT32, UINT32, INT64, UINT64, float and double. Also the string representations char* and std::string.

bool is represented by an SDS type SDS_USHORT.
char * and std::string are put in arrays of SDS_CHAR items.

Template Parameters
TThe SDS primitive you wish to insert.
Parameters
valueThe value to be inserted.

References drama::CreateRunDramaTask(), and DramaTHROW.