CommandLineArgInt Class Reference

#include <SSAHAMain.h>

Inheritance diagram for CommandLineArgInt:

Inheritance graph
[legend]
Collaboration diagram for CommandLineArgInt:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommandLineArgInt (const string &nameLong, const string &nameShort, int &destination)
void addValue (const string &value)

Protected Attributes

int & destination_

Detailed Description

Definition at line 208 of file SSAHAMain.h.


Constructor & Destructor Documentation

CommandLineArgInt::CommandLineArgInt ( const string &  nameLong,
const string &  nameShort,
int &  destination 
) [inline]

Definition at line 212 of file SSAHAMain.h.

00212                                                                         :
00213     CommandLineArg( nameLong, nameShort ), destination_( destination ) {}
  void addValue( const string& value )


Member Function Documentation

void CommandLineArgInt::addValue ( const string &  value  )  [inline, virtual]

Implements CommandLineArg.

Definition at line 214 of file SSAHAMain.h.

References destination_.

00215   {
00216     destination_ = atoi(value.c_str());
00217   }


Member Data Documentation

int& CommandLineArgInt::destination_ [protected]

Definition at line 219 of file SSAHAMain.h.

Referenced by addValue().


The documentation for this class was generated from the following file:
Generated on Fri Dec 21 13:15:51 2007 for ssaha by  doxygen 1.5.2