Public Member Functions | Protected Attributes | List of all members
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]

Public Member Functions

 HelpVisitor (CmdLineInterface *cmd, CmdLineOutput **out)
 
void visit ()
 
- Public Member Functions inherited from ecl::Visitor
 Visitor ()
 
virtual ~Visitor ()
 

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 32 of file help_visitor.hpp.

Constructor & Destructor Documentation

◆ HelpVisitor()

ecl::HelpVisitor::HelpVisitor ( CmdLineInterface cmd,
CmdLineOutput **  out 
)
inline

Constructor.

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

Definition at line 55 of file help_visitor.hpp.

Member Function Documentation

◆ visit()

void ecl::HelpVisitor::visit ( )
inlinevirtual

Calls the usage method of the CmdLineOutput for the specified CmdLine.

Reimplemented from ecl::Visitor.

Definition at line 62 of file help_visitor.hpp.

Member Data Documentation

◆ _cmd

CmdLineInterface* ecl::HelpVisitor::_cmd
protected

The CmdLine the output will be generated for.

Definition at line 41 of file help_visitor.hpp.

◆ _out

CmdLineOutput** ecl::HelpVisitor::_out
protected

The output object.

Definition at line 46 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 Wed Mar 2 2022 00:16:13