2018-12-05 06:52:43 +08:00
|
|
|
/*! \file
|
|
|
|
|
2018-12-07 05:13:56 +08:00
|
|
|
Copyright 2018, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2018-12-05 06:52:43 +08:00
|
|
|
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
|
|
|
|
2015, 2016, 2017, 2018
|
|
|
|
University Corporation for Atmospheric Research/Unidata.
|
|
|
|
|
|
|
|
See \ref copyright file for more info.
|
|
|
|
|
|
|
|
*/
|
2011-04-17 04:56:36 +08:00
|
|
|
/* $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*/
|