Go to the documentation of this file.
18 #ifndef viskores_cont_SerializableTypeString_h
19 #define viskores_cont_SerializableTypeString_h
33 struct SerializableTypeString
34 #ifdef VISKORES_DOXYGEN_ONLY
38 static std::string name =
"TypeName";
48 template <
typename T,
typename... Ts>
49 std::string GetVariadicSerializableTypeString(
const T&,
const Ts&... ts)
55 std::string GetVariadicSerializableTypeString(
const T&)
68 static std::string name =
"I8";
78 static std::string name =
"U8";
88 static std::string name =
"I16";
98 static std::string name =
"U16";
108 static std::string name =
"I32";
118 static std::string name =
"U32";
128 static std::string name =
"I64";
138 static std::string name =
"U64";
148 static std::string name =
"F32";
158 static std::string name =
"F64";
164 struct SerializableTypeString<bool>
168 static std::string name =
"B8";
174 struct SerializableTypeString<char>
178 static std::string name =
"C8";
203 template <
typename T, viskores::IdComponent NumComponents>
204 struct SerializableTypeString<
viskores::Vec<T, NumComponents>>
208 static std::string name =
214 template <
typename T1,
typename T2>
215 struct SerializableTypeString<
viskores::Pair<T1, T2>>
228 #endif // viskores_cont_SerializableTypeString_h
int16_t Int16
Base type to use for 16-bit signed integer numbers.
Definition: Types.h:181
int8_t Int8
Base type to use for 8-bit signed integer numbers.
Definition: Types.h:173
#define VISKORES_UNUSED_INT_TYPE
Definition: Types.h:216
uint16_t UInt16
Base type to use for 16-bit unsigned integer numbers.
Definition: Types.h:185
signed long long Int64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:212
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:165
unsigned long long UInt64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:215
uint8_t UInt8
Base type to use for 8-bit unsigned integer numbers.
Definition: Types.h:177
int32_t Int32
Base type to use for 32-bit signed integer numbers.
Definition: Types.h:189
auto Get(const viskores::Tuple< Ts... > &tuple)
Retrieve the object from a viskores::Tuple at the given index.
Definition: Tuple.h:89
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:169
uint32_t UInt32
Base type to use for 32-bit unsigned integer numbers.
Definition: Types.h:193