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

Last change on this file since 2352 was 1999, checked in by ansari, 23 years ago

Ajout flags, correction classe espion RzProcSampleCounter - Reza 13/5/2002

File size: 1.3 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.7 2002-05-13 15:50:49 ansari 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// Sample belonging to a source or galaxy
29 FlgToiSource = (unsigned long long)1 << 7,
30// All bit to one ...
31#ifdef IRIX64
32 FlgToiAll = (int)~(unsigned long long)0
33#else
34 FlgToiAll = ~(unsigned long long)0
35#endif
36};
37
38// et on peut continuer ainsi jusqu'a 1<<63 cad le bit 64 ieme
39// Pour imprimer la valeur: cout<<(unsigned long long)FlgToi...<<endl;
40
41#endif
Note: See TracBrowser for help on using the repository browser.