Gromacs
2018.1
|
#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 | |
virtual int | valueCount () |
Returns the number of values stored so far. | |
virtual ArrayRef< T > | values () |
Returns a reference to the actual values. | |
virtual void | clear () |
Removes all stored values. | |
virtual void | reserve (size_t count) |
Reserves memory for additional count entries. | |
virtual void | append (const T &value) |
Appends a value to the store. | |