Chi-Tech
chi_data_types.h
Go to the documentation of this file.
1#ifndef CHI_DATA_TYPES_CHI_DATA_TYPES_H
2#define CHI_DATA_TYPES_CHI_DATA_TYPES_H
3
4#include <string>
5
6namespace chi_data_types
7{
8 /**Enumeration of data-types supported by Varying*/
9 enum class VaryingDataType : int
10 {
11 VOID = 0, ///< Basically undefined or null
12 ARBITRARY_BYTES = 1, ///< Basic sequence of bytes
13 STRING = 2, ///< Datatype mapping to std::string
14 BOOL = 3, ///< Datatype mapping to bool
15 INTEGER = 4, ///< Datatype mapping to int64_t
16 FLOAT = 5 ///< Datatype mapping to double
17 };
18
19 /**Provides a string-name for an enumerated VaryingDataType.*/
21
22 class Varying;
23 class ByteArray;
24
25 template<typename T>
26 class NDArray;
27}//namespace chi_data_types
28
29#endif //CHI_DATA_TYPES_CHI_DATA_TYPES_H
@ INTEGER
Datatype mapping to int64_t.
@ STRING
Datatype mapping to std::string.
@ VOID
Basically undefined or null.
@ BOOL
Datatype mapping to bool.
@ ARBITRARY_BYTES
Basic sequence of bytes.
@ FLOAT
Datatype mapping to double.
std::string VaryingDataTypeStringName(VaryingDataType type)
Definition: varying.cc:10