Jpp  15.0.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
8 const static unsigned int ttdc = 1414808643;
9 const static unsigned int taes = 1413563731;
10 const static unsigned int tmch = 1414349640;
11 
12 inline bool is_optical(unsigned int dt)
13 {
14  return dt == ttdc;
15 }
16 
17 inline bool is_acoustic(unsigned int dt)
18 {
19  return dt == taes;
20 }
21 
22 inline bool is_monitoring(unsigned int dt)
23 {
24  return dt == tmch;
25 }
26 
27 #endif
bool is_acoustic(unsigned int dt)
Definition: datatypespec.hh:17
bool is_monitoring(unsigned int dt)
Definition: datatypespec.hh:22
bool is_optical(unsigned int dt)
Definition: datatypespec.hh:12
static const unsigned int ttdc
Definition: datatypespec.hh:8
static const unsigned int tmch
Definition: datatypespec.hh:10
static const unsigned int taes
Definition: datatypespec.hh:9