gatb.core-API-1.4.2
OptionsHelpVisitor Class Reference

Visitor that display help. More...

#include <OptionsParser.hpp>

Inheritance diagram for OptionsHelpVisitor:
Inheritance graph

Public Member Functions

 OptionsHelpVisitor (std::ostream &os)
 
void visitOptionsParser (OptionsParser &object, size_t depth)
 
void visitOption (Option &object, size_t depth)
 
- Public Member Functions inherited from IOptionsParserVisitor
virtual ~IOptionsParserVisitor ()
 

Detailed Description

Visitor that display help.

Constructor & Destructor Documentation

OptionsHelpVisitor ( std::ostream &  os)
inline

Constructor.

Parameters
[out]os: output stream where the output must be put.

Member Function Documentation

void visitOption ( Option object,
size_t  depth 
)
virtual

Visit a instance of Option

Parameters
[in]object: the object to be visited
[in]depth: level of the visit

Implements IOptionsParserVisitor.

void visitOptionsParser ( OptionsParser object,
size_t  depth 
)
virtual

Visit a instance of OptionsParser

Parameters
[in]object: the object to be visited
[in]depth: level of the visit

Implements IOptionsParserVisitor.


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