netcdf-c/include/ceconstraints.h
2018-12-06 14:13:56 -07:00

37 lines
822 B
C

/*! \file
Copyright 2018, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
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.
*/
/* $Header$ */
#ifndef CECONSTRAINTS_H
#define CECONSTRAINTS_H
#ifndef NC_MAX_VAR_DIMS
#define NC_MAX_VAR_DIMS 1024
#endif
typedef enum CEops {
CEO_NIL=0,CEO_EQ=1,CEO_NEQ=2,CEO_GE=3,CEO_GT=4,CEO_LE=5,CEO_LT=6,CEO_RE=7
} CEops;
/* Must match CEops */
#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;
#endif /*CECONSTRAINTS_H*/