2011-04-17 04:56:36 +08:00
|
|
|
/*********************************************************************
|
|
|
|
* Copyright 1993, UCAR/Unidata
|
|
|
|
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
|
|
*********************************************************************/
|
|
|
|
/* $Header$ */
|
|
|
|
|
2011-04-18 02:50:10 +08:00
|
|
|
#ifndef CECONSTRAINTS_H
|
|
|
|
#define CECONSTRAINTS_H
|
2011-04-17 04:56:36 +08:00
|
|
|
|
|
|
|
#ifndef NC_MAX_VAR_DIMS
|
|
|
|
#define NC_MAX_VAR_DIMS 1024
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef enum CEops {
|
2013-05-17 02:22:17 +08:00
|
|
|
CEO_NIL=0,CEO_EQ=1,CEO_NEQ=2,CEO_GE=3,CEO_GT=4,CEO_LE=5,CEO_LT=6,CEO_RE=7
|
2011-04-17 04:56:36 +08:00
|
|
|
} CEops;
|
|
|
|
|
2013-05-17 02:22:17 +08:00
|
|
|
/* Must match CEops */
|
2011-04-17 04:56:36 +08:00
|
|
|
#define OPSTRINGS {"?","=","!=",">=",">","<=","<","=~"}
|
|
|
|
|
|
|
|
typedef enum CEsort {
|
|
|
|
CES_NIL=0,
|
|
|
|
CES_STR=8,CES_INT=9,CES_FLOAT=10,
|
|
|
|
CES_VAR=11,CES_FCN=12,CES_CONST=13,
|
|
|
|
CES_SELECT=14, CES_PROJECT=15,
|
|
|
|
CES_SEGMENT=16, CES_CONSTRAINT=17,
|
|
|
|
CES_VALUE=18, CES_SLICE=19
|
|
|
|
} CEsort;
|
|
|
|
|
2011-04-18 02:50:10 +08:00
|
|
|
#endif /*CECONSTRAINTS_H*/
|
|
|
|
|