tclap 1.4.0
Classes | Namespaces | Macros | Typedefs | Functions
Arg.h File Reference
#include <tclap/ArgException.h>
#include <tclap/ArgTraits.h>
#include <tclap/CmdLineInterface.h>
#include <tclap/StandardTraits.h>
#include <tclap/Visitor.h>
#include <tclap/sstream.h>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <list>
#include <string>
#include <vector>
Include dependency graph for Arg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TCLAP::ArgAlias
 An additional short flag and/or long name for the same argument. More...
 
class  TCLAP::Arg
 A virtual base class that defines the essential data for all arguments. More...
 

Namespaces

namespace  TCLAP
 

Macros

#define TCLAP_ALLOW_NUL_TRUNCATION   0
 
#define TCLAP_FLAGSTARTCHAR   '-'
 The char that indicates the beginning of a flag.
 
#define TCLAP_FLAGSTARTSTRING   "-"
 The sting that indicates the beginning of a flag.
 
#define TCLAP_NAMESTARTSTRING   "--"
 The sting that indicates the beginning of a name.
 

Typedefs

typedef std::list< Arg * >::const_iterator TCLAP::ArgListIterator
 Typedef of an Arg list iterator.
 
typedef std::vector< Arg * >::const_iterator TCLAP::ArgVectorIterator
 Typedef of an Arg vector iterator.
 
typedef std::list< Visitor * >::const_iterator TCLAP::VisitorListIterator
 Typedef of a Visitor list iterator.
 

Functions

template<typename T >
void TCLAP::ExtractValue (T &destVal, const std::string &strVal, ValueLike vl)
 
template<typename T >
void TCLAP::ExtractValue (T &destVal, const std::string &strVal, StringLike sl)
 

Macro Definition Documentation

◆ TCLAP_ALLOW_NUL_TRUNCATION

#define TCLAP_ALLOW_NUL_TRUNCATION   0

Definition at line 35 of file Arg.h.

◆ TCLAP_FLAGSTARTCHAR

#define TCLAP_FLAGSTARTCHAR   '-'

The char that indicates the beginning of a flag.

Defaults to '-', but clients can define TCLAP_FLAGSTARTCHAR to override.

Definition at line 254 of file Arg.h.

◆ TCLAP_FLAGSTARTSTRING

#define TCLAP_FLAGSTARTSTRING   "-"

The sting that indicates the beginning of a flag.

Defaults to "-", but clients can define TCLAP_FLAGSTARTSTRING to override. Should be the same as TCLAP_FLAGSTARTCHAR.

Definition at line 264 of file Arg.h.

◆ TCLAP_NAMESTARTSTRING

#define TCLAP_NAMESTARTSTRING   "--"

The sting that indicates the beginning of a name.

Defaults to "--", but clients can define TCLAP_NAMESTARTSTRING to override.

Definition at line 273 of file Arg.h.