Public Member Functions | Protected Attributes
ecl::HelpVisitor Class Reference

TClap class indirectly used to define the interface for visitors. More...

#include <help_visitor.hpp>

Inheritance diagram for ecl::HelpVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HelpVisitor (CmdLineInterface *cmd, CmdLineOutput **out)
void visit ()

Protected Attributes

CmdLineInterface_cmd
CmdLineOutput ** _out

Detailed Description

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.


Constructor & Destructor Documentation

Constructor.

Parameters:
cmd- The CmdLine the output will be generated for.
out- The type of output.

Definition at line 51 of file help_visitor.hpp.


Member Function Documentation

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.


Member Data Documentation

The CmdLine the output will be generated for.

Definition at line 37 of file help_visitor.hpp.

The output object.

Definition at line 42 of file help_visitor.hpp.


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


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:17:18