View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

scalars.h
Go to the documentation of this file.
1#ifndef SCALARS_H
2#define SCALARS_H
3
4#include <cstdint>
6#include <boost/mpl/vector.hpp>
7#include <boost/mpl/size.hpp>
8#include <array>
9
10namespace vistle {
11
12// list of data types usable in Vistle's shm arrays
13typedef boost::mpl::vector<char, signed char, unsigned char, int32_t, uint32_t, int64_t, uint64_t, float, double>
15const std::array<const char *, boost::mpl::size<Scalars>::value> ScalarTypeNames = {
16 {"char", "signed char", "unsigned char", "int32_t", "uint32_t", "int64_t", "uint64_t", "float", "double"}};
17
18} // namespace vistle
19
20#endif
Definition: allobjects.cpp:30
boost::mpl::vector< char, signed char, unsigned char, int32_t, uint32_t, int64_t, uint64_t, float, double > Scalars
Definition: scalars.h:14
const std::array< const char *, boost::mpl::size< Scalars >::value > ScalarTypeNames
Definition: scalars.h:15