Gromacs  2024.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions
gmx::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.