|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inline |
Constructor which contructs the value from an item in an SDS structure.
This overload of the constructor allows an override of the the class specific Min and Max values, which may be needed in some designs.
The value is fetched from the named item (arg #4) within the SDS structure specified. or the Position (constructor arg #5) item in the
structure if the item named does not exist.
| Id | The SDS structure. |
| Min | The minimum acceptable value. |
| Max | The maximum acceptable value. |
| Name | The name of the item within the structure. |
| Position | If the item does not exist by the name, then presume this position. |
| Default | The default value. If not specified, uses "DefaultVal". |
| flags | Which GIT Flags to apply. If you specify KeepErr, then an exception is throw if the value in the SDS structure is invalid. If you don't specify KeepErr and and the SDS structure does not contain a value item, then the value is set to the supplied default. |
References drama::CreateRunDramaTask(), drama::Default, and drama::gitarg::Int< MinVal, MaxVal, DefaultVal >::Get().