Lodestar
An integrated real-time control package in C++
DynamicDataTypes.hpp
1
//
2
// Created by Hamza El-Kebir on 12/22/21.
3
//
4
5
#ifndef LODESTAR_DYNAMICDATATYPES_HPP
6
#define LODESTAR_DYNAMICDATATYPES_HPP
7
8
#include <string>
9
10
namespace
ls
{
11
namespace
aux {
15
struct
DynamicDataTypes
{
16
enum class
Types {
17
intType,
18
boolType,
19
floatType,
20
doubleType,
21
longType,
22
charType,
23
stringType,
24
unknownType
25
};
26
27
template
<
typename
TType>
28
struct
type_to_enum
{
29
static
constexpr Types type = Types::unknownType;
30
static_assert(type == Types::unknownType,
31
"Unknown dynamic type; please define a suitable DynamicDataType."
);
32
};
33
};
34
}
35
}
36
37
#endif //LODESTAR_DYNAMICDATATYPES_HPP
ls
Main Lodestar code.
Definition:
BilinearTransformation.hpp:12
ls::aux::DynamicDataTypes
Definition:
DynamicDataTypes.hpp:15
ls::aux::DynamicDataTypes::type_to_enum
Definition:
DynamicDataTypes.hpp:28
Lodestar
aux
DynamicDataTypes.hpp
Generated by
1.8.17