#include <SSAHAMain.h>
Inheritance diagram for CommandLineArgBool:


Public Member Functions | |
| CommandLineArgBool (const string &nameLong, const string &nameShort, bool &destination) | |
| virtual bool | isThisMe (const string &argName) |
| void | addValue (const string &value) |
Protected Attributes | |
| bool & | destination_ |
Definition at line 225 of file SSAHAMain.h.
| CommandLineArgBool::CommandLineArgBool | ( | const string & | nameLong, | |
| const string & | nameShort, | |||
| bool & | destination | |||
| ) | [inline] |
Definition at line 229 of file SSAHAMain.h.
00229 : 00230 CommandLineArg( nameLong, nameShort ), destination_( destination ) {}
| virtual bool CommandLineArgBool::isThisMe | ( | const string & | argName | ) | [inline, virtual] |
Reimplemented from CommandLineArg.
Definition at line 232 of file SSAHAMain.h.
References destination_, CommandLineArg::nameLong_, and CommandLineArg::nameShort_.
00233 { 00234 if ( ( argName == nameLong_ ) || ( argName == nameShort_ ) ) 00235 { 00236 destination_ = true; 00237 return true; 00238 } // ~if 00239 return false; 00240 } // ~grabNextArg
| void CommandLineArgBool::addValue | ( | const string & | value | ) | [inline, virtual] |
Implements CommandLineArg.
Definition at line 242 of file SSAHAMain.h.
References destination_.
00243 { 00244 destination_ = atoi(value.c_str()); 00245 }
bool& CommandLineArgBool::destination_ [protected] |
1.5.2