Gromacs
2020-beta1
|
#include <gromacs/options/optionsvisitor.h>
Decorator class for visiting options in a Options object.
This class provides an interface for looping through sections and options in a Options object.
Typical use (loop over all options, iteratively descending into subsections):
Public Member Functions | |
OptionsIterator (const Options &options) | |
Creates an object for visiting options in a Options object. More... | |
OptionsIterator (const OptionSectionInfo §ion) | |
Creates an object for visiting options in an options section. | |
void | acceptSections (OptionsVisitor *visitor) const |
Visits each section in the wrapped section. | |
void | acceptOptions (OptionsVisitor *visitor) const |
Visits each option in the wrapped section. | |
|
explicit |