AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ GitResetType() [1/2]

GitResetType::GitResetType ( const SdsId Id,
const char *const  Name,
int  Position,
StatusType *  status,
const int  Flags = Git::Upper|Git::Abbrev|Git::KeepErr 
)
inline

Construct a GitReset type from an action argument.

The specified SDS structure is examined for an item of the specified name. If it does not exist, then an item at the specified position is examined. The function attempts to set the GitReset type based on the value of this argument.

Parameters
IdThe Sds ID of the structure containing the argument.
NameThe name of the item in the structure.
PositionThe Position of the item in the structure. Only used if an item of the specified name does not exist. First item is 1.
statusInherited status
FlagsWhich Git flags to Apply. Defaults to (Git::Upper|GitAbbrev|GitKeepErr)

References GitEnum::Get().