Back to Top page.

EGGetOpt Class Reference

Wrapper class for getopt_long(). More...

#include <EGGetOpt.h>

List of all members.

Public Methods

 EGGetOpt (int argc, char **argv)
 Constructor.

unsigned GetGenerations () const
bool IsLoad () const
unsigned GetSeed () const
const char * GetFileName () const
void PrintVersion ()
 Displays version information.

void PrintHelp (char *)
 Displays help information.


Detailed Description

Wrapper class for getopt_long().


Constructor & Destructor Documentation

EGGetOpt::EGGetOpt int    argc,
char **    argv
 

Constructor.

Parses main function arguments, and then sets the parameter values.


Member Function Documentation

const char* EGGetOpt::GetFileName   const [inline]
 

unsigned EGGetOpt::GetGenerations   const [inline]
 

unsigned EGGetOpt::GetSeed   const [inline]
 

bool EGGetOpt::IsLoad   const [inline]
 

void EGGetOpt::PrintHelp char *    filename
 

Displays help information.

Parameters:
filename  [in] File name

void EGGetOpt::PrintVersion  
 

Displays version information.


The documentation for this class was generated from the following files: