tclap  1.4.0
Public Member Functions | List of all members
TCLAP::StandaloneArgs Class Reference

#include <CmdLine.h>

Inheritance diagram for TCLAP::StandaloneArgs:
Inheritance graph
[legend]
Collaboration diagram for TCLAP::StandaloneArgs:
Collaboration graph
[legend]

Public Member Functions

 StandaloneArgs ()
 
ArgContaineradd (Arg *arg)
 Add an argument to this arg group. More...
 
bool showAsGroup () const
 If arguments in this group should show up as grouped in help. More...
 
- Public Member Functions inherited from TCLAP::AnyOf
 AnyOf ()
 
 AnyOf (CmdLineInterface &parser)
 
bool validate ()
 Validates that the constraints of the ArgGroup are satisfied. More...
 
bool isExclusive () const
 Returns true if this argument group is exclusive. More...
 
bool isRequired () const
 Returns true if this argument group is required. More...
 
- Public Member Functions inherited from TCLAP::ArgGroup
virtual ~ArgGroup ()
 
virtual ArgContaineradd (Arg &arg)
 Add an argument to this arg group. More...
 
void setParser (CmdLineInterface &parser)
 Used by the parser to connect itself to this arg group. More...
 
const std::string getName () const
 Returns the argument group's name. More...
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
- Public Member Functions inherited from TCLAP::ArgContainer
virtual ~ArgContainer ()
 

Additional Inherited Members

- Public Types inherited from TCLAP::ArgGroup
typedef std::list< Arg * > Container
 
typedef Container::iterator iterator
 
typedef Container::const_iterator const_iterator
 
- Protected Member Functions inherited from TCLAP::ArgGroup
 ArgGroup ()
 
- Protected Attributes inherited from TCLAP::ArgGroup
CmdLineInterface_parser
 
Container _args
 

Detailed Description

Definition at line 56 of file CmdLine.h.

Constructor & Destructor Documentation

◆ StandaloneArgs()

TCLAP::StandaloneArgs::StandaloneArgs ( )
inline

Definition at line 58 of file CmdLine.h.

Member Function Documentation

◆ add()

ArgContainer& TCLAP::StandaloneArgs::add ( Arg arg)
inlinevirtual

Add an argument to this arg group.

Reimplemented from TCLAP::ArgGroup.

Definition at line 60 of file CmdLine.h.

References TCLAP::ArgGroup::_args, TCLAP::ArgGroup::begin(), TCLAP::ArgGroup::end(), and TCLAP::Arg::longID().

Referenced by TCLAP::CmdLine::add(), TCLAP::CmdLine::CmdLine(), and TCLAP::CmdLine::~CmdLine().

Here is the call graph for this function:

◆ showAsGroup()

bool TCLAP::StandaloneArgs::showAsGroup ( ) const
inlinevirtual

If arguments in this group should show up as grouped in help.

Reimplemented from TCLAP::ArgGroup.

Definition at line 75 of file CmdLine.h.


The documentation for this class was generated from the following file: