Gromacs  2026.0-dev-20241204-d69d709
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions
gmx::test::anonymous_namespace{stringtoenumvalueconverter.cpp} Namespace Reference

Enumerations

enum  Foo : int {
  Bar, Ugh, Fooz, Weird,
  Empty, Count, Default = Ugh
}
 Type to use in testing.
 

Functions

const char * enumValueToString (Foo f)
 Declare the conventional conversion function.
 
const char * enumValueToLetterAsString (Foo f)
 Declare an atypical conversion function.
 
::std::ostream & operator<< (::std::ostream &os, const std::optional< Foo > &f)
 Pretty-printer for GoogleTest to use.