TClap class indirectly used to define the interface for visitors. More...
#include <help_visitor.hpp>
Public Member Functions | |
HelpVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
void | visit () |
Protected Attributes | |
CmdLineInterface * | _cmd |
CmdLineOutput ** | _out |
TClap class indirectly used to define the interface for visitors.
A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object.
Definition at line 30 of file help_visitor.hpp.
ecl::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 51 of file help_visitor.hpp.
void ecl::HelpVisitor::visit | ( | ) | [inline, virtual] |
Calls the usage method of the CmdLineOutput for the specified CmdLine.
Reimplemented from ecl::Visitor.
Definition at line 58 of file help_visitor.hpp.
CmdLineInterface* ecl::HelpVisitor::_cmd [protected] |
The CmdLine the output will be generated for.
Definition at line 37 of file help_visitor.hpp.
CmdLineOutput** ecl::HelpVisitor::_out [protected] |
The output object.
Definition at line 42 of file help_visitor.hpp.