irioCoreCpp Library Module  2.1.0
elemtypes.h
1 #pragma once
2 
3 #include <string>
4 
5 namespace irio {
6 namespace bfp {
7 
13 enum class ElemTypes : std::uint8_t {
14  Bool,
15  I8,
16  U8,
17  I16,
18  U16,
19  I32,
20  U32,
21  I64,
22  U64,
24 };
25 
35 ElemTypes getElemTypeFromStr(const std::string &typeName);
36 
37 } // namespace bfp
38 } // namespace irio
ElemTypes getElemTypeFromStr(const std::string &typeName)
Parses a string and outputs a ElemType if exists an equivalence.
ElemTypes
Supported types for the elements of the different Resources in the Bitfile.
Definition: elemtypes.h:13
@ Unsupported
Unsupported.