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

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

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

File size: 1.3 KB
RevLine 
[1738]1
2// ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
3// Eric Aubourg
4// Christophe Magneville
5// Reza Ansari
[1999]6// $Id: flagtoidef.h,v 1.7 2002-05-13 15:50:49 ansari Exp $
[1738]7
[1516]8#ifndef FLAGTOIDEF_H
9#define FLAGTOIDEF_H
[1502]10
[1767]11#include "config.h"
12
[1502]13enum FlagToiDef {
[1516]14// Out of Range Value of Range Value
[1502]15 FlgToiOut = (unsigned long long)1 << 0,
16// Spike-like sample (ex: glitch)
[1516]17 FlgToiSpike = (unsigned long long)1 << 1,
[1502]18// Discontinuity-like sample (ex: step)
[1516]19 FlgToiDisc = (unsigned long long)1 << 2,
[1502]20// Large-Sigma-like sample
[1516]21 FlgToiSigma = (unsigned long long)1 << 3,
[1502]22// Cleaned sample (ex: clean after spike,step...)
[1516]23 FlgToiClean = (unsigned long long)1 << 4,
[1502]24// Sample Value has been interpolated/Replaced ...
[1516]25 FlgToiInterp = (unsigned long long)1 << 5,
[1735]26// Sample killed because near a "flaggued" one ...
27 FlgToiAround = (unsigned long long)1 << 6,
[1999]28// Sample belonging to a source or galaxy
29 FlgToiSource = (unsigned long long)1 << 7,
[1735]30// All bit to one ...
[1767]31#ifdef IRIX64
32 FlgToiAll = (int)~(unsigned long long)0
33#else
34 FlgToiAll = ~(unsigned long long)0
35#endif
[1516]36};
37
[1502]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
[1516]41#endif
Note: See TracBrowser for help on using the repository browser.