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

#include <gromacs/options/repeatingsection.h>

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

Description

template<class T>
class gmx::RepeatingOptionSection< T >

Declares an option section that creates a structure for each instance.

Template Parameters
TStructure that stores the values for an instance of the section.

This class declares a section that can be specified multiple times, and creates an instance of T for each instance. Options within the section can store their values in the created structure.

Public Types

typedef
RepeatingOptionSectionHandle
< T > 
HandleType
 AbstractOptionSectionHandle corresponding to this option type.
 

Public Member Functions

 RepeatingOptionSection (const char *name)
 Creates a section with the given name.
 
RepeatingOptionSectionstoreVector (std::vector< T > *values)
 Specifies a vector to receive the section structures.
 

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