TCLAP::HelpVisitor Class Reference

#include <HelpVisitor.h>

Inheritance diagram for TCLAP::HelpVisitor:
TCLAP::Visitor

List of all members.

Public Member Functions

 HelpVisitor (CmdLineInterface *cmd, CmdLineOutput **out)
void visit ()

Protected Attributes

CmdLineInterface_cmd
CmdLineOutput ** _out

Detailed Description

A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object.


Constructor & Destructor Documentation

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

Constructor.

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

Member Function Documentation

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

Calls the usage method of the CmdLineOutput for the specified CmdLine.

Reimplemented from TCLAP::Visitor.

References _cmd, and exit.


Member Data Documentation

The CmdLine the output will be generated for.

Referenced by visit().

The output object.


The documentation for this class was generated from the following file:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1