Frobby
0.9.5
|
#include <Action.h>
Public Member Functions | |
Action (const char *name, const char *shortDescription, const char *description, bool acceptsNonParameter) | |
virtual | ~Action () |
const char * | getName () const |
const char * | getShortDescription () const |
const char * | getDescription () const |
bool | acceptsNonParameter () const |
virtual void | processNonParameter (const char *str) |
virtual void | obtainParameters (vector< Parameter * > ¶meters) |
virtual void | parseCommandLine (unsigned int tokenCount, const char **tokens) |
virtual void | perform ()=0 |
virtual bool | displayAction () const |
Returns whether this action should be shown to the user by the help action. More... | |
const Parameter & | getParam (const string &name) const |
Static Public Member Functions | |
static void | getActionNames (vector< string > &names) |
static auto_ptr< Action > | createActionWithPrefix (const string &prefix) |
Protected Attributes | |
CliParams | _params |
const char * | _name |
const char * | _shortDescription |
const char * | _description |
bool | _acceptsNonParameter |
BoolParameter | _printActions |
Action::Action | ( | const char * | name, |
const char * | shortDescription, | ||
const char * | description, | ||
bool | acceptsNonParameter | ||
) |
Definition at line 46 of file Action.cpp.
|
virtual |
Definition at line 59 of file Action.cpp.
bool Action::acceptsNonParameter | ( | ) | const |
Definition at line 125 of file Action.cpp.
|
static |
Definition at line 109 of file Action.cpp.
|
virtual |
Returns whether this action should be shown to the user by the help action.
Reimplemented in TestAction, LatticeAnalyzeAction, HelpAction, and FrobeniusAction.
Definition at line 97 of file Action.cpp.
|
static |
Definition at line 105 of file Action.cpp.
const char * Action::getDescription | ( | ) | const |
Definition at line 121 of file Action.cpp.
const char * Action::getName | ( | ) | const |
Definition at line 113 of file Action.cpp.
const Parameter & Action::getParam | ( | const string & | name | ) | const |
Definition at line 101 of file Action.cpp.
const char * Action::getShortDescription | ( | ) | const |
Definition at line 117 of file Action.cpp.
|
virtual |
Reimplemented in TransformAction, TestAction, PrimaryDecomAction, PolyTransformAction, OptimizeAction, MaximalStandardAction, LatticeFormatAction, LatticeAnalyzeAction, IrreducibleDecomAction, IntersectionAction, HelpAction, GenerateIdealAction, GenerateFrobeniusAction, FrobeniusAction, EulerAction, DynamicFrobeniusAction, DimensionAction, AssociatedPrimesAction, AnalyzeAction, and AlexanderDualAction.
Definition at line 133 of file Action.cpp.
|
virtual |
Definition at line 137 of file Action.cpp.
|
pure virtual |
Implemented in TransformAction, TestAction, PrimaryDecomAction, PolyTransformAction, OptimizeAction, MaximalStandardAction, LatticeFormatAction, LatticeAnalyzeAction, IrreducibleDecomAction, IntersectionAction, HilbertAction, HelpAction, GenerateIdealAction, GenerateFrobeniusAction, FrobeniusAction, EulerAction, DynamicFrobeniusAction, DimensionAction, AssociatedPrimesAction, AnalyzeAction, and AlexanderDualAction.
|
virtual |
Reimplemented in HelpAction.
Definition at line 129 of file Action.cpp.
|
protected |