Logo Search packages:      
Sourcecode: passwordmaker-cli version File versions  Download package

template<class T >
TCLAP::MultiArg< T >::MultiArg ( const std::string &  flag,
const std::string &  name,
const std::string &  desc,
bool  req,
const std::string &  typeDesc,
CmdLineInterface parser,
Visitor v = NULL 


flag- The one character flag that identifies this argument on the command line.
name- A one word name for the argument. Can be used as a long flag on the command line.
desc- A description of what the argument is for or does.
req- Whether the argument is required on the command line.
typeDesc- A short, human readable description of the type that this object expects. This is used in the generation of the USAGE statement. The goal is to be helpful to the end user of the program.
parser- A CmdLine parser object to add this Arg to
v- An optional visitor. You probably should not use this unless you have a very good reason.

Definition at line 385 of file MultiArg.h.

References TCLAP::CmdLineInterface::add().

: Arg( flag, name, desc, req, true, v ),
  _typeDesc( typeDesc )
      parser.add( this );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index