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

◆ Get()

template<typename T >
void drama::ParSys::Get ( const std::string &  name,
T *  value 
) const
inline

Fetch primitive value from parameter.

If the named item exists within the parameter system, then fetch its value and convert it to the type of the template argument, if possible.

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.

Note - to access a parameter via an SDS Id, see the ParId class.

See also
ParId
Parameters
nameThe name of the parameter to fetch
valueThe value is returned here.

References drama::CreateRunDramaTask(), and DramaTHROW_S.