|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::ParSys::PutSdsReplaceByCopy | ( | const std::string & | name, |
| const sds::Id & | value, | ||
| const bool | create = true |
||
| ) |
Put a SDS item a named parameter - replacing the existing item.
An SDS item is written into a named parameter. Rather then convering the value with ArgCvt(), the supplied value will replace the existing parameter entirely.
In this version (const sds::Id & value) the value is copied using Id.Copy() and then the copy is inserted into the parameter system.
| name | The name of the parameter. |
| value | The value to be inserted. |
| create | If true, then the parameter is created if it does not already exist. Otherwise it must exist. |