gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
tof_typedefs.h
1
17#ifndef GAPSTOFTYPEDEFS_H_INCLUDED
18#define GAPSTOFTYPEDEFS_H_INCLUDED
19
20#include <vector>
21#include <map>
22#include <cstddef>
23#include <string>
24#include <cstdint>
25
26typedef uint8_t u8;
27typedef uint16_t u16;
28typedef uint32_t u32;
29typedef uint64_t u64;
30typedef int8_t i8;
31typedef int16_t i16;
32typedef int32_t i32;
33typedef int64_t i64;
34typedef size_t usize;
36typedef float f32;
38typedef double f64;
39typedef std::string String;
40
42template <typename T>
43using Vec = std::vector<T>;
44
46template <typename T, typename U>
47using HashMap = std::map<T,U>;
48
49typedef HashMap<u8,HashMap<u8,HashMap<u8, std::pair<u8,u8>>>> LtbRBMap;
50
51typedef Vec<u8> bytestream;
52#endif