Gromacs  2018.1
 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 >:

Description

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

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.
 

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