Classes | Namespaces | Macros | Typedefs
CmdArgs.h File Reference

Definition of commonly used command-line arguments. More...

#include "tclap/SwitchArg.h"
#include "tclap/MultiSwitchArg.h"
#include "tclap/UnlabeledValueArg.h"
#include "tclap/UnlabeledMultiArg.h"
#include "ValueArg.h"
#include "MultiArg.h"
#include "tclap/Constraint.h"
#include "os/path.h"
+ Include dependency graph for CmdArgs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  basis::ExistingDirectoryConstraint
 Constrain argument values to paths of existing directories. More...
 
class  basis::ExistingFileConstraint
 Constrain argument values to paths of existing files. More...
 
class  basis::NegativeValueConstraint< T >
 Constrain argument values to negative values. More...
 
class  basis::NonZeroValueConstraint< T >
 Constrain argument values to non-zero values. More...
 
class  basis::PositiveValueConstraint< T >
 Constrain argument values to positive values. More...
 
class  basis::ZeroOrNegativeValueConstraint< T >
 Constrain argument values to zero or negative values. More...
 
class  basis::ZeroOrPositiveValueConstraint< T >
 Constrain argument values to zero or positive values. More...
 

Namespaces

 basis
 

Macros

#define _BASIS_CMDARGS_H
 

Typedefs

typedef TCLAP::Arg basis::Arg
 Base type of command-line arguments. More...
 
typedef basis::ValueArg< double > basis::DoubleArg
 Floating-point argument (double precision). More...
 
typedef basis::ValueArg< float > basis::FloatArg
 Floating-point argument. More...
 
typedef basis::ValueArg< int > basis::Int32Arg
 Signed 32-bit integer argument. More...
 
typedef basis::ValueArg< long > basis::Int64Arg
 Signed 64-bit integer argument. More...
 
typedef basis::ValueArg< int > basis::IntArg
 Alias for Int32Arg. More...
 
typedef basis::MultiArg< double > basis::MultiDoubleArg
 Floating-point argument (double precision, multiple occurrences allowed). More...
 
typedef basis::MultiArg< float > basis::MultiFloatArg
 Floating-point argument (multiple occurrences allowed). More...
 
typedef basis::MultiArg< int > basis::MultiInt32Arg
 Signed 32-bit integer argument (multiple occurrences allowed). More...
 
typedef basis::MultiArg< long > basis::MultiInt64Arg
 Signed 64-bit integer argument (multiple occurrences allowed). More...
 
typedef basis::MultiArg< int > basis::MultiIntArg
 Alias for MultiInt32Arg. More...
 
typedef basis::MultiArg< std::string > basis::MultiStringArg
 String argument (multiple occurrences allowed). More...
 
typedef TCLAP::MultiSwitchArg basis::MultiSwitchArg
 Counts occurrences of option switch. More...
 
typedef basis::MultiArg< unsigned int > basis::MultiUInt32Arg
 Unsigned 32-bit integer argument (multiple occurrences allowed). More...
 
typedef basis::MultiArg< unsigned long > basis::MultiUInt64Arg
 Unsigned 64-bit integer argument (multiple occurrences allowed). More...
 
typedef basis::MultiArg< unsigned int > basis::MultiUIntArg
 Alias for MultiUInt32Arg. More...
 
typedef TCLAP::UnlabeledValueArg< std::string > basis::PositionalArg
 Positional argument. More...
 
typedef TCLAP::UnlabeledMultiArg< std::string > basis::PositionalArgs
 Positional arguments. More...
 
typedef basis::ValueArg< std::string > basis::StringArg
 String argument. More...
 
typedef TCLAP::ValuesConstraint< std::string > basis::StringValuesConstraint
 Constrains string arguments to allow only predefined values. More...
 
typedef TCLAP::SwitchArg basis::SwitchArg
 Switch to enable/disable option. More...
 
typedef basis::ValueArg< unsigned int > basis::UInt32Arg
 Unsigned 32-bit integer argument. More...
 
typedef basis::ValueArg< unsigned long > basis::UInt64Arg
 Unsigned 64-bit integer argument. More...
 
typedef basis::ValueArg< unsigned int > basis::UIntArg
 Alias for UInt32Arg. More...
 

Detailed Description

Definition of commonly used command-line arguments.

This include file mainly redefines the TCLAP command-line argument types in the namespace of BASIS itself. It only defines commonly used argument types without template parameters.

Definition in file CmdArgs.h.

Macro Definition Documentation

§ _BASIS_CMDARGS_H

#define _BASIS_CMDARGS_H

Definition at line 21 of file CmdArgs.h.