Gromacs
2024.4
|
#include <gromacs/options/behaviorcollection.h>
Container for IOptionsBehavior objects.
This class provides a container to keep IOptionsBehavior objects, and to call the IOptionsBehavior methods for the contained objects.
IOptionsBehavior methods are called for the contained objects in the same order as in which the behaviors were inserted.
Public Member Functions | |
OptionsBehaviorCollection (Options *options) | |
Constructs a container for storing behaviors associated with given Options. More... | |
void | addBehavior (const OptionsBehaviorPointer &behavior) |
Adds a behavior to the collection. | |
void | optionsFinishing () |
Calls IOptionsBehavior::optionsFinishing() on all behaviors. | |
void | optionsFinished () |
Calls IOptionsBehavior::optionsFinished() on all behaviors. | |
|
explicit |