OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavyai::StringEnum< Enum > Struct Template Reference

#include <define_enum_class.h>

Public Member Functions

bool operator< (std::string_view const name) const
 

Public Attributes

std::string_view name
 
Enum value
 

Detailed Description

template<typename Enum>
struct heavyai::StringEnum< Enum >

Definition at line 85 of file define_enum_class.h.

Member Function Documentation

template<typename Enum >
bool heavyai::StringEnum< Enum >::operator< ( std::string_view const  name) const
inline

Definition at line 89 of file define_enum_class.h.

References heavyai::StringEnum< Enum >::name.

89 { return this->name < name; }
std::string_view name

Member Data Documentation

template<typename Enum >
std::string_view heavyai::StringEnum< Enum >::name

Definition at line 86 of file define_enum_class.h.

Referenced by heavyai::StringEnum< Enum >::operator<().

template<typename Enum >
Enum heavyai::StringEnum< Enum >::value

Definition at line 87 of file define_enum_class.h.


The documentation for this struct was generated from the following file: