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
11
#include "
lluvia/core/enums/enums.h
"
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.h
Enums.
ll::impl::ParameterTypeStrings
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
ll
Definition:
Buffer.h:28
ll::ParameterType
ParameterType
Definition:
ParameterType.h:15
ll::ParameterType::Int
@ Int
ll::ParameterType::Float
@ Float
ll::ParameterType::String
@ String
ll::enum_t
uint32_t enum_t
Definition:
enums.h:23
lluvia
cpp
core
include
lluvia
core
node
ParameterType.h
Generated by
1.9.1