source: Sophya/trunk/ArchTOIPipe/Kernel/flagtoidef.h@ 1767

Last change on this file since 1767 was 1767, checked in by aubourg, 24 years ago

magique

File size: 1.2 KB
Line 
1
2// ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
3// Eric Aubourg
4// Christophe Magneville
5// Reza Ansari
6// $Id: flagtoidef.h,v 1.6 2001-11-15 10:42:17 aubourg Exp $
7
8#ifndef FLAGTOIDEF_H
9#define FLAGTOIDEF_H
10
11#include "config.h"
12
13enum FlagToiDef {
14// Out of Range Value of Range Value
15 FlgToiOut = (unsigned long long)1 << 0,
16// Spike-like sample (ex: glitch)
17 FlgToiSpike = (unsigned long long)1 << 1,
18// Discontinuity-like sample (ex: step)
19 FlgToiDisc = (unsigned long long)1 << 2,
20// Large-Sigma-like sample
21 FlgToiSigma = (unsigned long long)1 << 3,
22// Cleaned sample (ex: clean after spike,step...)
23 FlgToiClean = (unsigned long long)1 << 4,
24// Sample Value has been interpolated/Replaced ...
25 FlgToiInterp = (unsigned long long)1 << 5,
26// Sample killed because near a "flaggued" one ...
27 FlgToiAround = (unsigned long long)1 << 6,
28// All bit to one ...
29#ifdef IRIX64
30 FlgToiAll = (int)~(unsigned long long)0
31#else
32 FlgToiAll = ~(unsigned long long)0
33#endif
34};
35
36// et on peut continuer ainsi jusqu'a 1<<63 cad le bit 64 ieme
37// Pour imprimer la valeur: cout<<(unsigned long long)FlgToi...<<endl;
38
39#endif
Note: See TracBrowser for help on using the repository browser.