|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::ParSys::PutSdsReplaceByInsert | ( | const std::string & | name, |
| sds::Id * | value, | ||
| const bool | create = true |
||
| ) |
Put a SDS item a named parameter - replacing the existing value.
An SDS item is written into a named parameter. Rather then converting the value with ArgCvt(), the supplied value will replace the existing parameter entirely.
In this version (sds::Id *value) the value SDS item passed in is inserted directly into the parameter, after being renamed to the specified name. It must not be an external SDS item.
| name | The name of the parameter. |
| value | The value to be inserted. Must not be an external item. |
| create | If true, then the parameter is created if it does not already exist. Otherwise it must exist. |