|
◆ Get() [2/2]
Get the value of the object from an SDS structure.
The value is fetch from the named item (arg #2) within the SDS structure specified. or the Position (constructor arg #3) item in the
structure if the item named does not exist.
- Note
- The DRAMA lock must be taken when executing this. If in a thread, the preference is to take it by constructing a drama::AccessDrama object to ensure the action context is correct.
- Parameters
-
Id | The SDS structure. |
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 use 0 (first enum val) |
flags | Which GIT Flags to apply. If you specify KeepErr, then an exception is thrown 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 enum value is set to the Invalid value. |
References drama::CreateRunDramaTask(), and drama::Default.
|