CmdLine::OptionsFLOAT Class Reference

#include <CmdLineParser.h>

Inheritance diagram for CmdLine::OptionsFLOAT:

Inheritance graph
[legend]
Collaboration diagram for CmdLine::OptionsFLOAT:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 OptionsFLOAT (const Parser &parser)
Option< FLOAT > & Add (const std::string &, const std::string &="", FLOAT=0.0, FLOAT=std::numeric_limits< FLOAT >::min(), FLOAT=std::numeric_limits< FLOAT >::max())
bool Match (int &, char **, int)

Friends

bool OptionsINT::Match (int &, char **, int)


Detailed Description

Float options.

Constructor & Destructor Documentation

CmdLine::OptionsFLOAT::OptionsFLOAT ( const Parser parser  )  [inline]


Member Function Documentation

Option< FLOAT > & OptionsFLOAT::Add ( const std::string &  name,
const std::string &  alias = "",
FLOAT  def = 0.0,
FLOAT  min = std::numeric_limits<FLOAT>::min(),
FLOAT  max = std::numeric_limits<FLOAT>::max() 
)

bool OptionsFLOAT::Match ( int &  i,
char **  argv,
int  argc 
)


Friends And Related Function Documentation

bool OptionsINT::Match ( int &  ,
char **  ,
int   
) [friend]

Class OptionsINT needs to access OptionsFLOAT::Find() in order to check if there exists a FLOAT option with the same name.


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