Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Friends
gmx::RepeatingOptionSectionStorage< T > Class Template Reference

#include <gromacs/options/repeatingsection.h>

+ Inheritance diagram for gmx::RepeatingOptionSectionStorage< T >:
+ Collaboration diagram for gmx::RepeatingOptionSectionStorage< T >:

Description

template<class T>
class gmx::RepeatingOptionSectionStorage< T >

Implements handling of the structures that stores per-section values.

Public Member Functions

 RepeatingOptionSectionStorage (const RepeatingOptionSection< T > &section)
 Initializes the storage for given section properties.
 
void initStorage () override
 Called once before the first call to startSection(). More...
 
void startSection () override
 Called when option assignment enters this section.
 
void finishSection () override
 Called when option assignment leaves this section.
 

Friends

class RepeatingOptionSectionHandle< T >
 Allows binding option storage to the current section data structure.
 

Member Function Documentation

template<class T >
void gmx::RepeatingOptionSectionStorage< T >::initStorage ( )
inlineoverridevirtual

Called once before the first call to startSection().

This is called once all options have been added to the section. The current implementation does not call this if startSection() is never called.

Implements gmx::IOptionSectionStorage.


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