Field3D
|
#include <assert.h>
#include <string>
#include <hdf5.h>
#include "Log.h"
#include "Types.h"
#include "ns.h"
Go to the source code of this file.
Classes | |
struct | DataTypeTraits< T > |
class | FieldTraits< Data_T > |
struct | TemplatedFieldType< Field_T > |
Used to return a string for the name of a templated field. More... | |
Defines | |
#define | FIELD3D_DECL_DATATYPENAME(typeName) |
Enumerations | |
enum | DataTypeEnum { DataTypeHalf = 0, DataTypeUnsignedChar, DataTypeInt, DataTypeFloat, DataTypeDouble, DataTypeVecHalf, DataTypeVecFloat, DataTypeVecDouble, DataTypeUnknown } |
This file contains the DataTypeTraits struct, with class functions for converting templatization into strings and enums.
Definition in file Traits.h.
#define FIELD3D_DECL_DATATYPENAME | ( | typeName | ) |
template<> \ inline std::string DataTypeTraits<typeName>::name() \ { \ return std::string(#typeName); \ } \
enum DataTypeEnum |