Gromacs  2025-dev-20241008-cf8b9ef
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::OptionsModifyingIterator Class Reference

#include <gromacs/options/optionsvisitor.h>

Description

Decorator class for visiting options in a Options object, allowing changes.

This class works exactly like OptionsIterator, except that it uses OptionsModifyingVisitor interface, which allows modifying the options.

See Also
OptionsIterator

Public Member Functions

 OptionsModifyingIterator (Options *options)
 Creates an object for visiting options in a Options object. More...
 
 OptionsModifyingIterator (OptionSectionInfo *section)
 Creates an object for visiting options in an options section.
 
void acceptSections (OptionsModifyingVisitor *visitor) const
 Visits each section in the wrapped section.
 
void acceptOptions (OptionsModifyingVisitor *visitor) const
 Visits each option in the wrapped section.
 

Constructor & Destructor Documentation

gmx::OptionsModifyingIterator::OptionsModifyingIterator ( Options options)
explicit

Creates an object for visiting options in a Options object.

The created iterator iterates over the "root" section in the Options object.


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