Public Member Functions | Protected Attributes
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
[legend]

List of all members.

Public Member Functions

 VersionVisitor (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 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

Constructor.

Parameters:
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 ( ) [inline, virtual]

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

The CmdLine of interest.

Definition at line 37 of file version_visitor.hpp.

The output object.

Definition at line 42 of file version_visitor.hpp.


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


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:41