TClap class indirectly used to define the interface for visitors. More...
#include <version_visitor.hpp>

Public Member Functions | |
| VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
| void | visit () |
Public Member Functions inherited from ecl::Visitor | |
| Visitor () | |
| virtual | ~Visitor () |
Protected Attributes | |
| CmdLineInterface * | _cmd |
| CmdLineOutput ** | _out |
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.
|
inline |
Constructor.
| cmd | - The CmdLine the output is generated for. |
| out | - The type of output. |
Definition at line 51 of file version_visitor.hpp.
|
inlinevirtual |
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.
|
protected |
The CmdLine of interest.
Definition at line 37 of file version_visitor.hpp.
|
protected |
The output object.
Definition at line 42 of file version_visitor.hpp.