Gromacs
2024.4
|
#include <gromacs/options/repeatingsection.h>
Allows adding options to an RepeatingOptionSection.
An instance of this class is returned from IOptionsContainerWithSections::addSection(), and supports adding options and subsections to a section created with OptionSection.
Example:
Public Member Functions | |
RepeatingOptionSectionHandle (internal::OptionSectionImpl *section) | |
Wraps a given section storage object. | |
T & | bind () |
Supports storing option values within the per-section data structure. More... | |
Public Member Functions inherited from gmx::AbstractOptionSectionHandle | |
IOptionsContainer & | addGroup () override |
Creates a subgroup of options within the current options. More... | |
Public Member Functions inherited from gmx::IOptionsContainerWithSections | |
template<class SectionType > | |
SectionType::HandleType | addSection (const SectionType §ion) |
Adds a section to this collection. More... | |
Public Member Functions inherited from gmx::IOptionsContainer | |
template<class OptionType > | |
OptionType::InfoType * | addOption (const OptionType &settings) |
Adds a recognized option. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from gmx::AbstractOptionSectionHandle | |
AbstractOptionSectionHandle (internal::OptionSectionImpl *section) | |
Wraps a given section storage object. | |
Protected Member Functions inherited from gmx::IOptionsContainerWithSections | |
GMX_DEFAULT_CONSTRUCTORS (IOptionsContainerWithSections) | |
Protected Member Functions inherited from gmx::IOptionsContainer | |
GMX_DEFAULT_CONSTRUCTORS (IOptionsContainer) | |
Static Protected Member Functions inherited from gmx::AbstractOptionSectionHandle | |
template<typename StorageType > | |
static StorageType * | getStorage (internal::OptionSectionImpl *section) |
Returns the storage for a particular type of section. More... | |
|
inline |
Supports storing option values within the per-section data structure.
See class documentation for an example.