tclap 1.2.5
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.
 
virtual ~Visitor ()
 Destructor.
 
virtual void visit ()=0
 This method (to implemented by children) will be called when the visitor is visited.
 

Detailed Description

A base class that defines the interface for visitors.

Definition at line 34 of file Visitor.h.

Constructor & Destructor Documentation

◆ Visitor()

TCLAP::Visitor::Visitor ( )
inline

Constructor.

Does nothing.

Definition at line 41 of file Visitor.h.

◆ ~Visitor()

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

Destructor.

Does nothing.

Definition at line 46 of file Visitor.h.

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::IgnoreRestVisitor, and TCLAP::VersionVisitor.

Referenced by TCLAP::Arg::_checkWithVisitor().


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