LocalGuidance
A library that generates velocity references to follow a path.
std_utils::CompileTimeKey< Enum_, e_, Name_, id_ > Class Template Reference

#include <CompileTimeKeys.hpp>

Public Types

using Name = Name_
 
using Enum = Enum_
 

Static Public Member Functions

static constexpr Enum_ getEnum ()
 
static constexpr const char * getName ()
 
static constexpr int getId ()
 

Detailed Description

template<typename Enum_, Enum_ e_, typename Name_, int id_ = static_cast<int>(e_)>
class std_utils::CompileTimeKey< Enum_, e_, Name_, id_ >

Compile Time Key implementation

Template Parameters
Enum_Enum Type
e_Key Enum
Name_Key Name (as CompileTimeString)
id_Key Id (default int value of e_)

Member Typedef Documentation

template<typename Enum_ , Enum_ e_, typename Name_ , int id_ = static_cast<int>(e_)>
using std_utils::CompileTimeKey< Enum_, e_, Name_, id_ >::Enum = Enum_
template<typename Enum_ , Enum_ e_, typename Name_ , int id_ = static_cast<int>(e_)>
using std_utils::CompileTimeKey< Enum_, e_, Name_, id_ >::Name = Name_

Member Function Documentation

template<typename Enum_ , Enum_ e_, typename Name_ , int id_ = static_cast<int>(e_)>
static constexpr Enum_ std_utils::CompileTimeKey< Enum_, e_, Name_, id_ >::getEnum ( )
inlinestatic
template<typename Enum_ , Enum_ e_, typename Name_ , int id_ = static_cast<int>(e_)>
static constexpr int std_utils::CompileTimeKey< Enum_, e_, Name_, id_ >::getId ( )
inlinestatic
template<typename Enum_ , Enum_ e_, typename Name_ , int id_ = static_cast<int>(e_)>
static constexpr const char* std_utils::CompileTimeKey< Enum_, e_, Name_, id_ >::getName ( )
inlinestatic

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