netcdf-c/libdap2/constraints.h

31 lines
1.3 KiB
C
Raw Permalink Normal View History

/*********************************************************************
2018-12-07 05:21:03 +08:00
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*********************************************************************/
#ifndef CONSTRAINTS_H
#define CONSTRAINTS_H 1
2011-04-18 02:56:10 +08:00
extern NCerror dapparsedapconstraints(NCDAPCOMMON*, char*, DCEconstraint*);
extern NCerror dapmapconstraints(DCEconstraint*,CDFnode*);
extern NCerror dapqualifyconstraints(DCEconstraint* constraint);
extern NCerror dapcomputeprojectedvars(NCDAPCOMMON*,DCEconstraint*);
2011-04-18 02:56:10 +08:00
extern char* dapsimplepathstring(NClist* segments, char* separator);
extern void dapmakesegmentstring(NClist* segments, NCbytes* buf, char* separator);
2011-04-18 02:56:10 +08:00
extern int dapiswholeslice(DCEslice*, struct CDFnode* dim);
extern int dapiswholesegment(DCEsegment*);
2011-04-18 02:56:10 +08:00
extern int dapiswholeconstraint(DCEconstraint* con);
2011-04-18 02:56:10 +08:00
extern void dapmakewholesegment(DCEsegment*,struct CDFnode*);
extern void dapmakewholeslice(DCEslice* slice, struct CDFnode* dim);
2011-04-18 02:56:10 +08:00
extern NCerror dapfixprojections(NClist* list);
2011-11-14 12:20:19 +08:00
extern int dapvar2projection(CDFnode* var, DCEprojection** projectionp);
extern int daprestrictprojection(NClist* projections, DCEprojection* var, DCEprojection** resultp);
extern int dapshiftprojection(DCEprojection*);
#endif /*CONSTRAINTS_H*/