Gromacs
2022.2
|
#include <gromacs/options/valuestore.h>
Value storage that does not store anywhere.
This is needed because even though the values are not stored anywhere, the code still expects to access them later through valueCount() and values().
Public Member Functions | |
int | valueCount () override |
Returns the number of values stored so far. | |
ArrayRef< T > | values () override |
Returns a reference to the actual values. | |
void | clear () override |
Removes all stored values. | |
void | reserve (size_t count) override |
Reserves memory for additional count entries. | |
void | append (const T &value) override |
Appends a value to the store. | |