#include <gittask.h>
Inheritance diagram for GitResetType:

This class is used to interpet the argument passed to the GIT RESET action..
This supports the various resets normally supported by GIT tasks, being SOFT, FULL and HARD. It also supports RECOVER, which is used by GitTask to only reset failed tasks.
Public Methods | |
| GitResetType (const SdsId &Id, const char *const Name, int Position, StatusType *status, const int Flags=Git::Upper|Git::Abbrev|Git::KeepErr) | |
| Construct a GitReset type from an action argument. | |
| GitResetType () | |
| Construct a reset type object, defaulting to a Soft reset. | |
| void | SetRecover () |
| Set the reset type to Recover. | |
| void | SetSoft () |
| Set the reset type to Soft. | |
| void | SetHard () |
| Set the reset type to Hard. | |
| void | SetFull () |
| Set the reset type to Full. | |
| bool | IsSoft () const |
| Return true if the reset type if Soft. | |
| bool | IsFull () const |
| Return true if the rest type if Full. | |
| bool | IsHard () const |
| Return true if the reset type is Hard. | |
| bool | IsRecover () const |
| Return true if the reset type is Hard. | |
| bool | IsInvalid () const |
| Return true if there is no valid reset type. | |
| operator const char * () const | |
| Return the reset type as a character string. | |
|
||||||||||||||||||||||||
|
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.
|
|
|
Construct a reset type object, defaulting to a Soft reset.
|
|
|
Return true if the rest type if Full.
|
|
|
Return true if the reset type is Hard.
|
|
|
Return true if there is no valid reset type.
|
|
|
Return true if the reset type is Hard.
|
|
|
Return true if the reset type if Soft.
|
|
|
Return the reset type as a character string.
|
|
|
Set the reset type to Full.
|
|
|
Set the reset type to Hard.
|
|
|
Set the reset type to Recover.
|
|
|
Set the reset type to Soft.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au Generated on Tue Nov 3 09:09:56 2009 for AAO DRAMA C++ Interfaces by
1.2.18