Command-line parsing library for C++. More...
Files | |
file | CmdLine.h |
Manages command line definition and parsing of arguments. | |
Classes | |
class | basis::CmdLine |
Manages command line definition and parsing of arguments. More... | |
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::MultiArg< T > |
An argument that allows multiple values of type T to be specified. 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::ValueArg< T > |
An argument that allows multiple values of type T to be specified. 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... | |
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... | |
Command-line parsing library for C++.
typedef TCLAP::Arg basis::Arg |
typedef basis::ValueArg<double> basis::DoubleArg |
typedef basis::ValueArg<float> basis::FloatArg |
typedef basis::ValueArg<int> basis::Int32Arg |
typedef basis::ValueArg<long> basis::Int64Arg |
typedef basis::ValueArg<int> basis::IntArg |
typedef basis::MultiArg<double> basis::MultiDoubleArg |
typedef basis::MultiArg<float> basis::MultiFloatArg |
typedef basis::MultiArg<int> basis::MultiInt32Arg |
typedef basis::MultiArg<long> basis::MultiInt64Arg |
typedef basis::MultiArg<int> basis::MultiIntArg |
typedef basis::MultiArg<std::string> basis::MultiStringArg |
typedef TCLAP::MultiSwitchArg basis::MultiSwitchArg |
typedef basis::MultiArg<unsigned int> basis::MultiUInt32Arg |
typedef basis::MultiArg<unsigned long> basis::MultiUInt64Arg |
typedef basis::MultiArg<unsigned int> basis::MultiUIntArg |
typedef TCLAP::UnlabeledValueArg<std::string> basis::PositionalArg |
Positional argument.
Processes only one positional argument. Add the positional arguments in the right order to the command-line.
typedef TCLAP::UnlabeledMultiArg<std::string> basis::PositionalArgs |
Positional arguments.
Use only one positional argument per command-line. Must be the last argument added to the command-line as it is greedy and will aggregate all remaining command-line arguments.
typedef basis::ValueArg<std::string> basis::StringArg |
typedef TCLAP::ValuesConstraint<std::string> basis::StringValuesConstraint |
typedef TCLAP::SwitchArg basis::SwitchArg |
typedef basis::ValueArg<unsigned int> basis::UInt32Arg |
typedef basis::ValueArg<unsigned long> basis::UInt64Arg |
typedef basis::ValueArg<unsigned int> basis::UIntArg |