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