3#include <iolink/DataType.h>
20 using ScalarType = uint8_t;
28 using ScalarType = uint16_t;
36 using ScalarType = uint32_t;
44 using ScalarType = uint64_t;
52 using ScalarType = int8_t;
60 using ScalarType = int16_t;
68 using ScalarType = int32_t;
76 using ScalarType = int64_t;
84 using ScalarType = float;
92 using ScalarType = double;
100 using ScalarType =
const char*;
108 using ScalarType = std::string;
116 using ScalarType = std::string;
124 using ScalarType = std::string;
128template <
typename T,
size_t N>
132 using ScalarType = T;
137 return DataType(ScalarTypeTraits::toDataType().primitiveType(),
139 ScalarTypeTraits::toDataType().bitDepth(),
140 ScalarTypeTraits::toDataType().interpretation());
Stores information about a data type.
Definition DataType.h:162
Definition DataTypeTraits.h:10
An arithmetic vector.
Definition Vector.h:37
All IOLink symbols are enclosed in this namespace.
Definition ArrayX.h:8
@ UINT32
32 bits unsigned integer
@ UINT16
16 bits unsigned integer
@ INT64
64 bits signed integer
@ INT16
16 bits signed integer
@ INT32
32 bits signed integer
@ UINT64
64 bits unsigned integer
@ UTF16_STRING
Unicode string encoded in UTF-16.
@ UTF8_STRING
Unicode string encoded in UTF-8.
@ UTF32_STRING
Unicode string encoded in UTF-32.
@ FLOAT
Single precision floating point.
@ UINT8
8 bits unsigned integer
@ INT8
8 bits signed integer
@ DOUBLE
Double precision floating point.