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

#include <gromacs/options/valuestore.h>

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


template<typename T>
class gmx::OptionValueStoreNull< T >

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.

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