Public Member Functions | Protected Attributes | List of all members
ecl::VersionVisitor Class Reference

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

#include <version_visitor.hpp>

Inheritance diagram for ecl::VersionVisitor:
Inheritance graph

Public Member Functions

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

Protected Attributes

CmdLineOutput ** _out

Detailed Description

TClap class indirectly used to define the interface for visitors.

A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.

Definition at line 30 of file version_visitor.hpp.

Constructor & Destructor Documentation

ecl::VersionVisitor::VersionVisitor ( CmdLineInterface cmd,
CmdLineOutput **  out 


cmd- The CmdLine the output is generated for.
out- The type of output.

Definition at line 51 of file version_visitor.hpp.

Member Function Documentation

void ecl::VersionVisitor::visit ( )

Calls the version method of the output object using the specified CmdLine.

Reimplemented from ecl::Visitor.

Definition at line 58 of file version_visitor.hpp.

Member Data Documentation

CmdLineInterface* ecl::VersionVisitor::_cmd

The CmdLine of interest.

Definition at line 37 of file version_visitor.hpp.

CmdLineOutput** ecl::VersionVisitor::_out

The output object.

Definition at line 42 of file version_visitor.hpp.

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

Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:08