Lluvia
ParameterType.h
Go to the documentation of this file.
1 
8 #ifndef LLUVIA_CORE_NODE_PARAMETER_TYPE_H_
9 #define LLUVIA_CORE_NODE_PARAMETER_TYPE_H_
10 
12 
13 namespace ll {
14 
15 enum class ParameterType : ll::enum_t {
16  Int = 0,
17  Float = 1,
18  String = 2,
19 };
20 
21 namespace impl {
22 
28  constexpr const std::array<std::tuple<const char*, ll::ParameterType>, 3> ParameterTypeStrings {{std::make_tuple("Int", ll::ParameterType::Int),
29  std::make_tuple("Float", ll::ParameterType::Float),
30  std::make_tuple("String", ll::ParameterType::String)}};
31 
32 } // namespace impl
33 } // namespace ll
34 
35 #endif // LLUVIA_CORE_NODE_PARAMETER_TYPE_H_
Enums.
constexpr const std::array< std::tuple< const char *, ll::ParameterType >, 3 > ParameterTypeStrings
String values used for converting ll::ParameterType to std::string and vice-versa.
Definition: ParameterType.h:28
Definition: Buffer.h:28
ParameterType
Definition: ParameterType.h:15
uint32_t enum_t
Definition: enums.h:23