ROSE
0.11.96.11
|
Functor to print the Unix man page and exit.
This functor is the same as ShowHelp except it also exits with the specified value.
Definition at line 1693 of file util/Sawyer/CommandLine.h.
#include <CommandLine.h>
Public Types | |
typedef SharedPointer< ShowHelpAndExit > | Ptr |
Reference counting pointer for this class. | |
![]() | |
typedef SharedPointer< ShowHelp > | Ptr |
Reference counting pointer for this class. | |
![]() | |
typedef SharedPointer< SwitchAction > | Ptr |
Reference counting pointer for this class. | |
Static Public Member Functions | |
static Ptr | instance (int exitStatus) |
Allocating constructor. More... | |
![]() | |
static Ptr | instance () |
Allocating constructor. More... | |
Protected Member Functions | |
ShowHelpAndExit (int exitStatus) | |
Constructor for derived classes. More... | |
virtual void | operator() (const ParserResult &) |
![]() | |
ShowHelp () | |
Constructor for derived classes. More... | |
Additional Inherited Members | |
![]() | |
void | run (const ParserResult &parserResult) |
Runs the action. More... | |
![]() | |
SharedObject () | |
Default constructor. More... | |
SharedObject (const SharedObject &) | |
Copy constructor. More... | |
virtual | ~SharedObject () |
Virtual destructor. More... | |
SharedObject & | operator= (const SharedObject &) |
Assignment. More... | |
|
inlineprotected |
Constructor for derived classes.
Non-subclass users should use instance instead.
Definition at line 1697 of file util/Sawyer/CommandLine.h.
|
inlinestatic |
Allocating constructor.
Returns a pointer to a new ShowHelpAndExit object. Users will most likely want to use the showHelpAndExit factory instead, which requires less typing.
Definition at line 1706 of file util/Sawyer/CommandLine.h.