UniversalIndentGUI 1.2.0
Public Member Functions | Protected Attributes
TCLAP::VersionVisitor Class Reference

#include <VersionVisitor.h>

Inheritance diagram for TCLAP::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

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

Definition at line 37 of file VersionVisitor.h.


Constructor & Destructor Documentation

TCLAP::VersionVisitor::VersionVisitor ( CmdLineInterface cmd,
CmdLineOutput **  out 
) [inline]

Constructor.

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

Definition at line 58 of file VersionVisitor.h.


Member Function Documentation

void TCLAP::VersionVisitor::visit ( ) [inline, virtual]

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

Reimplemented from TCLAP::Visitor.

Definition at line 65 of file VersionVisitor.h.

References _cmd.


Member Data Documentation

The CmdLine of interest.

Definition at line 44 of file VersionVisitor.h.

Referenced by visit().

The output object.

Definition at line 49 of file VersionVisitor.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines