A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object. More...
#include <HelpVisitor.h>
Public Member Functions | |
HelpVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
Constructor. | |
void | visit () |
Calls the usage method of the CmdLineOutput for the specified CmdLine. | |
Protected Attributes | |
CmdLineInterface * | _cmd |
The CmdLine the output will be generated for. | |
CmdLineOutput ** | _out |
The output object. |
A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object.
Definition at line 35 of file HelpVisitor.h.
TCLAP::HelpVisitor::HelpVisitor | ( | CmdLineInterface * | cmd, | |
CmdLineOutput ** | out | |||
) | [inline] |
Constructor.
cmd | - The CmdLine the output will be generated for. | |
out | - The type of output. |
Definition at line 63 of file HelpVisitor.h.
void TCLAP::HelpVisitor::visit | ( | ) | [inline, virtual] |
Calls the usage method of the CmdLineOutput for the specified CmdLine.
Reimplemented from TCLAP::Visitor.
Definition at line 70 of file HelpVisitor.h.
References _cmd.
CmdLineInterface* TCLAP::HelpVisitor::_cmd [protected] |
The CmdLine the output will be generated for.
Definition at line 49 of file HelpVisitor.h.
Referenced by visit().
CmdLineOutput** TCLAP::HelpVisitor::_out [protected] |
The output object.
Definition at line 54 of file HelpVisitor.h.