ceconstraints.h 801 B

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