Introduce StringToEnumValue
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 5 Mar 2021 08:02:59 +0000 (08:02 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 5 Mar 2021 08:02:59 +0000 (08:02 +0000)
commit4428f0a7be57c0e7a164828f2e4bea3edae925a9
tree91f7fe3f0d4a2081fe14c4915be23c3aa66c0f18
parent0ceb7eae7bcf85e4e590966ce37f990a9865f2e3
Introduce StringToEnumValue

This helper functor seems useful in a few places. Adds tests and
improves documentation.

Fixes #3963
docs/dev-manual/naming.rst
src/gromacs/fileio/pdbio.cpp
src/gromacs/gmxpreprocess/toppush.cpp
src/gromacs/utility/stringtoenumvalueconverter.h [new file with mode: 0644]
src/gromacs/utility/tests/CMakeLists.txt
src/gromacs/utility/tests/stringtoenumvalueconverter.cpp [new file with mode: 0644]