netcdf-c/libdap2/constraints3.h

41 lines
1.6 KiB
C
Raw Normal View History

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