Gromacs
2024.4
|
#include <gromacs/options/repeatingsection.h>
Declares an option section that creates a structure for each instance.
T | Structure 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. | |
RepeatingOptionSection & | storeVector (std::vector< T > *values) |
Specifies a vector to receive the section structures. | |
Friends | |
class | RepeatingOptionSectionStorage< T > |
Allows accessing the properties when initializing the storage. | |
Additional Inherited Members | |
Protected Member Functions inherited from gmx::AbstractOptionSection | |
AbstractOptionSection (const char *name) | |
Initializes option properties with the given name. More... | |