Class HelpVisitor

Inheritance Relationships

Base Type

Class Documentation

class HelpVisitor : public ecl::Visitor

TClap class indirectly used to define the interface for visitors.

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

Public Functions

inline HelpVisitor(CmdLineInterface *cmd, CmdLineOutput **out)

Constructor.

Parameters
  • cmd – - The CmdLine the output will be generated for.

  • out – - The type of output.

inline virtual void visit()

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

Protected Attributes

CmdLineInterface *_cmd

The CmdLine the output will be generated for.

CmdLineOutput **_out

The output object.