Euphoria
enumtostring.h File Reference
#include <map>
#include <type_traits>
#include "assert/assert.h"
#include "base/stringutils.h"
#include "base/editdistance.search.h"
#include "magic_enum/magic_enum.hpp"

Go to the source code of this file.

Classes

struct  eu::MatchedEnum< T >
 
struct  eu::EnumToStringImplementation< T >
 
struct  fmt::formatter< TEnum, char, std::enable_if_t< std::is_enum_v< TEnum >, void > >
 

Namespaces

 eu
 

Functions

template<typename T >
std::string eu::from_enum_to_string (T t)
 
template<typename T >
EnumToStringImplementation< T > eu::get_enum_to_string_implementation_from_enum ()
 
template<typename T >
MatchedEnum< T > eu::from_string_to_enum (const std::string &input, size_t max_size=5)
 
template<typename T >
std::vector< std::string > eu::from_enum_to_string (const std::vector< T > &ts)
 
template<typename T >
std::vector< std::string > eu::get_all_names_from_enum ()
 
template<typename T >
std::vector< T > eu::get_all_values_from_enum ()