TCLAP::VersionVisitor Class Reference

A Vistor that will call the version method of the given CmdLine and then exit. More...

#include <VersionVisitor.h>

Inheritance diagram for TCLAP::VersionVisitor:

Inheritance graph
[legend]
Collaboration diagram for TCLAP::VersionVisitor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VersionVisitor (CmdLineInterface *cmd)
 Constructor.
void visit ()
 Prints the version to stdout.

Protected Attributes

CmdLineInterface_cmd
 The CmdLine of interest.

Detailed Description

A Vistor that will call the version method of the given CmdLine and then exit.


Constructor & Destructor Documentation

TCLAP::VersionVisitor::VersionVisitor ( CmdLineInterface cmd  )  [inline]

Constructor.

Parameters:
cmd - The CmdLine whose version method will be called.


Member Function Documentation

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

Prints the version to stdout.

Reimplemented from TCLAP::Visitor.


Member Data Documentation

CmdLineInterface* TCLAP::VersionVisitor::_cmd [protected]

The CmdLine of interest.


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:27 2007 for MetalWarriors by  doxygen 1.4.7