gatb.core-API-1.4.2
VisibilityOptionsVisitor Struct Reference

Visitor that sets the visibility for a list of options. More...

#include <OptionsParser.hpp>

Inheritance diagram for VisibilityOptionsVisitor:
Inheritance graph

Public Member Functions

 VisibilityOptionsVisitor (bool visibility,...)
 
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 sets the visibility for a list of options.

Constructor & Destructor Documentation

VisibilityOptionsVisitor ( bool  visibility,
  ... 
)

Constructor.

Parameters
[in]visibility: status to be set.
[in]...: list of labels of options to be modified; MUST BE terminated by a 0.

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 struct was generated from the following files: