Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
datatypespec.hh
Go to the documentation of this file.
1#ifndef __DATA_TYPE_SPEC_HH
2#define __DATA_TYPE_SPEC_HH
3
4/**
5 * \author cpellegrino
6 */
7
8const static unsigned int ttdc = 1414808643;
9const static unsigned int taes = 1413563731;
10const static unsigned int tmch = 1414349640;
11
12inline bool is_optical(unsigned int dt)
13{
14 return dt == ttdc;
15}
16
17inline bool is_acoustic(unsigned int dt)
18{
19 return dt == taes;
20}
21
22inline bool is_monitoring(unsigned int dt)
23{
24 return dt == tmch;
25}
26
27#endif
static const unsigned int taes
bool is_acoustic(unsigned int dt)
bool is_monitoring(unsigned int dt)
bool is_optical(unsigned int dt)
static const unsigned int ttdc
static const unsigned int tmch