2011-09-02 06:32:28 +08:00
|
|
|
#ifndef CRMETA_H
|
|
|
|
#define CRMETA_H 1
|
2011-04-17 04:56:36 +08:00
|
|
|
|
|
|
|
enum Dimcase {DC_UNKNOWN, DC_FIXED, DC_UNLIMITED, DC_VLEN, DC_PRIVATE};
|
|
|
|
|
2011-06-11 02:47:26 +08:00
|
|
|
typedef struct CRshape {size_t rank; Dimension** dims;} CRshape;
|
|
|
|
|
2011-09-21 01:30:02 +08:00
|
|
|
extern int nccr_buildnc(NCCDMR*,Header*);
|
2011-04-17 04:56:36 +08:00
|
|
|
|
|
|
|
extern enum Dimcase classifydim(struct Dimension* dim);
|
|
|
|
extern int dimsize(struct Dimension*);
|
|
|
|
|
2011-06-11 02:47:26 +08:00
|
|
|
extern nc_type cvtstreamtonc(DataType);
|
|
|
|
|
|
|
|
extern int crextractshape(CRnode* src, CRshape* dst);
|
|
|
|
|
2011-09-02 06:32:28 +08:00
|
|
|
#endif /*CRMETA_H*/
|