constraints3.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*********************************************************************
  2. * Copyright 1993, UCAR/Unidata
  3. * See netcdf/COPYRIGHT file for copying and redistribution conditions.
  4. * $Header: /upc/share/CVS/netcdf-3/libncdap3/constraints3.h,v 1.10 2010/04/13 03:36:30 dmh Exp $
  5. *********************************************************************/
  6. #ifndef CONSTRAINTS3_H
  7. #define CONSTRAINTS3_H 1
  8. extern NCerror parsedapconstraints(NCDAPCOMMON*, char*, DCEconstraint*);
  9. extern NCerror mapconstraints3(DCEconstraint*,CDFnode*);
  10. extern NCerror qualifyconstraints3(DCEconstraint* constraint);
  11. extern char* simplepathstring(NClist* segments, char* separator);
  12. extern void makesegmentstring3(NClist* segments, NCbytes* buf, char* separator);
  13. extern int iswholeprojection(DCEprojection*);
  14. extern void freegetvara(struct Getvara* vara);
  15. extern NCerror slicemerge3(DCEslice* dst, DCEslice* src);
  16. extern int iswholeslice(DCEslice*, struct CDFnode* dim);
  17. extern int iswholesegment(DCEsegment*);
  18. extern int iswholeconstraint(DCEconstraint* con);
  19. extern char* buildprojectionstring3(NClist* projections);
  20. extern char* buildselectionstring3(NClist* selections);
  21. extern char* buildconstraintstring3(DCEconstraint* constraints);
  22. extern void makewholesegment3(DCEsegment*,struct CDFnode*);
  23. extern void makewholeslice3(DCEslice* slice, struct CDFnode* dim);
  24. extern NCerror fixprojections(NClist* list);
  25. extern int dapvar2projection(CDFnode* var, DCEprojection** projectionp);
  26. extern int daprestrictprojection(NClist* projections, DCEprojection* var, DCEprojection** resultp);
  27. extern int dapshiftprojection(DCEprojection*);
  28. #endif /*CONSTRAINTS3_H*/