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 | |
namespace | basis |
Typedefs | |
typedef TCLAP::Arg | basis::Arg |
Base type of command-line arguments. | |
typedef basis::ValueArg< double > | basis::DoubleArg |
Floating-point argument (double precision). | |
typedef basis::ValueArg< float > | basis::FloatArg |
Floating-point argument. | |
typedef basis::ValueArg< int > | basis::Int32Arg |
Signed 32-bit integer argument. | |
typedef basis::ValueArg< long > | basis::Int64Arg |
Signed 64-bit integer argument. | |
typedef basis::ValueArg< int > | basis::IntArg |
Alias for Int32Arg. | |
typedef basis::MultiArg< double > | basis::MultiDoubleArg |
Floating-point argument (double precision, multiple occurrences allowed). | |
typedef basis::MultiArg< float > | basis::MultiFloatArg |
Floating-point argument (multiple occurrences allowed). | |
typedef basis::MultiArg< int > | basis::MultiInt32Arg |
Signed 32-bit integer argument (multiple occurrences allowed). | |
typedef basis::MultiArg< long > | basis::MultiInt64Arg |
Signed 64-bit integer argument (multiple occurrences allowed). | |
typedef basis::MultiArg< int > | basis::MultiIntArg |
Alias for MultiInt32Arg. | |
typedef basis::MultiArg < std::string > | basis::MultiStringArg |
String argument (multiple occurrences allowed). | |
typedef TCLAP::MultiSwitchArg | basis::MultiSwitchArg |
Counts occurrences of option switch. | |
typedef basis::MultiArg < unsigned int > | basis::MultiUInt32Arg |
Unsigned 32-bit integer argument (multiple occurrences allowed). | |
typedef basis::MultiArg < unsigned long > | basis::MultiUInt64Arg |
Unsigned 64-bit integer argument (multiple occurrences allowed). | |
typedef basis::MultiArg < unsigned int > | basis::MultiUIntArg |
Alias for MultiUInt32Arg. | |
typedef TCLAP::UnlabeledValueArg < std::string > | basis::PositionalArg |
Positional argument. | |
typedef TCLAP::UnlabeledMultiArg < std::string > | basis::PositionalArgs |
Positional arguments. | |
typedef basis::ValueArg < std::string > | basis::StringArg |
String argument. | |
typedef TCLAP::ValuesConstraint < std::string > | basis::StringValuesConstraint |
Constrains string arguments to allow only predefined values. | |
typedef TCLAP::SwitchArg | basis::SwitchArg |
Switch to enable/disable option. | |
typedef basis::ValueArg < unsigned int > | basis::UInt32Arg |
Unsigned 32-bit integer argument. | |
typedef basis::ValueArg < unsigned long > | basis::UInt64Arg |
Unsigned 64-bit integer argument. | |
typedef basis::ValueArg < unsigned int > | basis::UIntArg |
Alias for UInt32Arg. |
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.
Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
Contact: SBIA Group <sbia-software at uphs.upenn.edu>
Definition in file CmdArgs.h.