Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes

TCLAP::VersionVisitor Class Reference


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 36 of file VersionVisitor.h.

#include <mrpt/otherlibs/tclap/VersionVisitor.h>

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

List of all members.

Public Member Functions

 VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out)
 Constructor.
void visit ()
 Calls the version method of the output object using the specified CmdLine.

Protected Attributes

CmdLineInterface_cmd
 The CmdLine of interest.
CmdLineOutput ** _out
 The output object.

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 57 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 64 of file VersionVisitor.h.

References _cmd.


Member Data Documentation

The CmdLine of interest.

Definition at line 43 of file VersionVisitor.h.

Referenced by visit().

The output object.

Definition at line 48 of file VersionVisitor.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011