Static Public Member Functions
ngraph::EnumNames< EnumType > Class Template Reference

#include <enum_names.hpp>

Static Public Member Functions

static EnumType as_enum (const std::string &name)
 Converts strings to enum values.
 
static const std::string & as_string (EnumType e)
 Converts enum values to strings.
 

Detailed Description

template<typename EnumType>
class ngraph::EnumNames< EnumType >

Uses a pairings defined by EnumTypes::get() to convert between strings and enum values.


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