Class VersionVisitor
Defined in File version_visitor.hpp
Inheritance Relationships
Base Type
public ecl::Visitor
(Class Visitor)
Class Documentation
-
class VersionVisitor : public ecl::Visitor
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.
Public Functions
-
inline VersionVisitor(CmdLineInterface *cmd, CmdLineOutput **out)
Constructor.
- Parameters
cmd – - The CmdLine the output is generated for.
out – - The type of output.
Protected Attributes
-
CmdLineInterface *_cmd
The CmdLine of interest.
-
CmdLineOutput **_out
The output object.
-
inline VersionVisitor(CmdLineInterface *cmd, CmdLineOutput **out)