Support ArrayRef of EnumerationArray
commitc866b1248e6669e64266754205995feb472fa2a0
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 20 Mar 2019 16:03:37 +0000 (20 17:03 +0100)
committerChristian Blau <cblau@gwdg.de>
Mon, 25 Mar 2019 14:11:03 +0000 (25 15:11 +0100)
tree4c2a7006bc1428a17fe09c409757f2513ccf59ab
parent497a67fcfd090b4a9f5b4711f5dbe7c2957706c1
Support ArrayRef of EnumerationArray

Also updated the example and named FooStrings variables correctly.
Introduced keysOf free function so that it is easy to write code that
clang-tidy does not warn about.

Change-Id: I51ee8adb1b13d771e7b1e8cd75f263bc6e921ffb
src/gromacs/utility/enumerationhelpers.h
src/gromacs/utility/tests/enumerationhelpers.cpp