Gromacs
2020.4
|
#include "gmxpre.h"
#include "basicoptions.h"
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <limits>
#include <string>
#include <vector>
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/strconvert.h"
#include "gromacs/utility/stringutil.h"
#include "basicoptionstorage.h"
Implements classes in basicoptions.h and basicoptionstorage.h.
Functions | |
template<typename ValueType > | |
void | anonymous_namespace{basicoptions.cpp}::expandVector (size_t length, std::vector< ValueType > *values) |
Expands a single value to a vector by copying the value. More... | |
std::vector< std::string > ::const_iterator | anonymous_namespace{basicoptions.cpp}::findEnumValue (const std::vector< std::string > &allowedValues, const std::string &value) |
Finds an enumerated value from the list of allowed values. More... | |
AbstractOptionStorage * | gmx::internal::createEnumOptionStorage (const AbstractOption &option, const char *const *enumValues, int count, int defaultValue, int defaultValueIfSet, std::unique_ptr< IOptionValueStore< int >> store) |
Helper to create EnumOptionStorage instances. More... | |