tclap  1.4.0
Public Member Functions | List of all members
TCLAP::Visitor Class Referenceabstract

A base class that defines the interface for visitors. More...

#include <Visitor.h>

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

Public Member Functions

 Visitor ()
 Constructor. More...
 
virtual ~Visitor ()
 Destructor. More...
 
virtual void visit ()=0
 This method (to implemented by children) will be called when the visitor is visited. More...
 

Detailed Description

A base class that defines the interface for visitors.

Definition at line 32 of file Visitor.h.

Constructor & Destructor Documentation

◆ Visitor()

TCLAP::Visitor::Visitor ( )
inline

Constructor.

Does nothing.

Definition at line 37 of file Visitor.h.

◆ ~Visitor()

virtual TCLAP::Visitor::~Visitor ( )
inlinevirtual

Destructor.

Does nothing.

Definition at line 42 of file Visitor.h.

References visit().

Here is the call graph for this function:

Member Function Documentation

◆ visit()

virtual void TCLAP::Visitor::visit ( )
pure virtual

This method (to implemented by children) will be called when the visitor is visited.

Implemented in TCLAP::HelpVisitor, TCLAP::VersionVisitor, and TCLAP::IgnoreRestVisitor.

Referenced by TCLAP::Arg::_checkWithVisitor(), and ~Visitor().


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