OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
datatype.h File Reference
#include "usrmac.h"
#include "datatype_proto.h"
Include dependency graph for datatype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UNKNOWN_TYPE   -2
 
#define HRPTTYPE   0
 
#define LACTYPE   0
 
#define LUNTYPE   1
 
#define SOLTYPE   2
 
#define IGCTYPE   3
 
#define TDITYPE   4
 
#define GACTYPE   15
 
#define UNKNOWNTYPESTR   "XXX"
 
#define LACSTR   "LAC"
 
#define LUNSTR   "LUN"
 
#define SOLSTR   "SOL"
 
#define IGCSTR   "IGC"
 
#define TDISTR   "TDI"
 
#define GACSTR   "GAC"
 
#define HRPTSTR   "HRPT"
 
#define TLMSTR   "TLM"
 
#define DATATYPE_SET(x)   ((x == GACTYPE) || (x == HRPTTYPE) || (x == LACTYPE) || (x == LUNTYPE) || (x == SOLTYPE) || (x == IGCTYPE) || (x == TDITYPE))
 
#define NEW_DATATYPE(prev, next)   (DATATYPE_SET(prev) && DATATYPE_SET(next) && (prev != next))
 

Macro Definition Documentation

◆ DATATYPE_SET

#define DATATYPE_SET (   x)    ((x == GACTYPE) || (x == HRPTTYPE) || (x == LACTYPE) || (x == LUNTYPE) || (x == SOLTYPE) || (x == IGCTYPE) || (x == TDITYPE))

Definition at line 54 of file datatype.h.

◆ GACSTR

#define GACSTR   "GAC"

Definition at line 48 of file datatype.h.

◆ GACTYPE

#define GACTYPE   15

Definition at line 41 of file datatype.h.

◆ HRPTSTR

#define HRPTSTR   "HRPT"

Definition at line 49 of file datatype.h.

◆ HRPTTYPE

#define HRPTTYPE   0

Definition at line 35 of file datatype.h.

◆ IGCSTR

#define IGCSTR   "IGC"

Definition at line 46 of file datatype.h.

◆ IGCTYPE

#define IGCTYPE   3

Definition at line 39 of file datatype.h.

◆ LACSTR

#define LACSTR   "LAC"

Definition at line 43 of file datatype.h.

◆ LACTYPE

#define LACTYPE   0

Definition at line 36 of file datatype.h.

◆ LUNSTR

#define LUNSTR   "LUN"

Definition at line 44 of file datatype.h.

◆ LUNTYPE

#define LUNTYPE   1

Definition at line 37 of file datatype.h.

◆ NEW_DATATYPE

#define NEW_DATATYPE (   prev,
  next 
)    (DATATYPE_SET(prev) && DATATYPE_SET(next) && (prev != next))

Definition at line 55 of file datatype.h.

◆ SOLSTR

#define SOLSTR   "SOL"

Definition at line 45 of file datatype.h.

◆ SOLTYPE

#define SOLTYPE   2

Definition at line 38 of file datatype.h.

◆ TDISTR

#define TDISTR   "TDI"

Definition at line 47 of file datatype.h.

◆ TDITYPE

#define TDITYPE   4

Definition at line 40 of file datatype.h.

◆ TLMSTR

#define TLMSTR   "TLM"

Definition at line 52 of file datatype.h.

◆ UNKNOWN_TYPE

#define UNKNOWN_TYPE   -2

Definition at line 34 of file datatype.h.

◆ UNKNOWNTYPESTR

#define UNKNOWNTYPESTR   "XXX"

Definition at line 42 of file datatype.h.