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 | |
---|
9 | extern NCerror parsedapconstraints(NCDAPCOMMON*, char*, DCEconstraint*); |
---|
10 | extern NCerror mapconstraints3(DCEconstraint*,CDFnode*); |
---|
11 | extern NCerror qualifyconstraints3(DCEconstraint* constraint); |
---|
12 | |
---|
13 | extern char* simplepathstring(NClist* segments, char* separator); |
---|
14 | extern void makesegmentstring3(NClist* segments, NCbytes* buf, char* separator); |
---|
15 | |
---|
16 | extern int iswholeprojection(DCEprojection*); |
---|
17 | |
---|
18 | extern void freegetvara(struct Getvara* vara); |
---|
19 | |
---|
20 | extern NCerror slicemerge3(DCEslice* dst, DCEslice* src); |
---|
21 | |
---|
22 | extern int iswholeslice(DCEslice*, struct CDFnode* dim); |
---|
23 | extern int iswholesegment(DCEsegment*); |
---|
24 | |
---|
25 | extern int iswholeconstraint(DCEconstraint* con); |
---|
26 | |
---|
27 | extern char* buildprojectionstring3(NClist* projections); |
---|
28 | extern char* buildselectionstring3(NClist* selections); |
---|
29 | extern char* buildconstraintstring3(DCEconstraint* constraints); |
---|
30 | |
---|
31 | extern void makewholesegment3(DCEsegment*,struct CDFnode*); |
---|
32 | extern void makewholeslice3(DCEslice* slice, struct CDFnode* dim); |
---|
33 | |
---|
34 | extern NCerror fixprojections(NClist* list); |
---|
35 | |
---|
36 | extern int dapvar2projection(CDFnode* var, DCEprojection** projectionp); |
---|
37 | extern int daprestrictprojection(NClist* projections, DCEprojection* var, DCEprojection** resultp); |
---|
38 | extern int dapshiftprojection(DCEprojection*); |
---|
39 | |
---|
40 | #endif /*CONSTRAINTS3_H*/ |
---|