iRoCS Toolbox  1.1.0
Data Structures | Functions
CmdArgs.hh File Reference
#include <config.hh>
#include <sstream>
#include <string>
#include <vector>
#include "CmdArg.hh"
#include "Compiler.hh"
#include "Errors.hh"
Include dependency graph for CmdArgs.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  CmdArgSwitch
 The CmdArgSwitch class is a CmdArg that behaves like a switch: if it was specified on the command line its value is true, if it was not specified its value is false. More...
 
class  CmdArgThrow< E >
 The CmdArgThrow<E> class is a CmdArg that throws an exception of type E when specified on the command line. More...
 
class  CmdArgType< T >
 The CmdArgType<T> class is a CmdArg that takes one value of type T. More...
 
class  CmdArgTypeFixedVector< T >
 The CmdArgTypeFixedVector<T> class is a CmdArg that takes a fixed size list of values of type T. More...
 
class  CmdArgTypeVector< T >
 The CmdArgTypeVector<T> class is a CmdArg that takes a list of values of type T. More...
 

Functions

std::string typeToString (const std::string &)
 
std::string typeToString (int)
 
std::string typeToString (float)
 
std::string typeToString (double)
 

Function Documentation

◆ typeToString() [1/4]

std::string typeToString ( const std::string &  )
inline

◆ typeToString() [2/4]

std::string typeToString ( int  )
inline

Definition at line 112 of file CmdArgs.hh.

◆ typeToString() [3/4]

std::string typeToString ( float  )
inline

Definition at line 119 of file CmdArgs.hh.

◆ typeToString() [4/4]

std::string typeToString ( double  )
inline

Definition at line 126 of file CmdArgs.hh.