Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | 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 44 of file VersionVisitor.h.

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

Inheritance diagram for TCLAP::VersionVisitor:
Inheritance graph

Public Member Functions

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

Protected Attributes

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

Constructor & Destructor Documentation

◆ VersionVisitor()

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

Member Function Documentation

◆ visit()

void TCLAP::VersionVisitor::visit ( )
inlinevirtual

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

Reimplemented from TCLAP::Visitor.

Definition at line 72 of file VersionVisitor.h.

References _cmd.

Member Data Documentation

◆ _cmd

CmdLineInterface* TCLAP::VersionVisitor::_cmd
protected

The CmdLine of interest.

Definition at line 51 of file VersionVisitor.h.

Referenced by visit().

◆ _out

CmdLineOutput** TCLAP::VersionVisitor::_out
protected

The output object.

Definition at line 56 of file VersionVisitor.h.




Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Mon Apr 18 04:07:33 UTC 2022