|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inline |
Get argument flag value set from an SDS structure.
The value (as returned by this method or GetVal() is zeroed on entry.
For each string flag name found in the argument structure, the corresponding flag value is or-ed into the resulting value. If the method throws, any valid values found before the throw will be set in a subsequent call to GetVal()
| Id | The SDS structure to read the flags from |
| First | Position of first argument to consider (1+) |
| Last | Position of last argument to consider. A value of 0 means to consider all found. Note - the first time we don't find any value (empty string or no such argument) we return immediately) |
| FailOnInvalid | Do we fail (throw) if a value is found which is not a flag value. Otherwise we ignore invalid values. |
References drama::CreateRunDramaTask(), and DramaTHROW_F.
Referenced by drama::gitarg::ArgFlags< ContainerType, >::ArgFlags().