NetCDF
4.3.2
|
00001 00007 #include "ncdispatch.h" 00008 00026 int 00027 nc_inq_type_equal(int ncid1, nc_type typeid1, int ncid2, 00028 nc_type typeid2, int *equal) 00029 { 00030 NC* ncp1; 00031 int stat = NC_check_id(ncid1,&ncp1); 00032 if(stat != NC_NOERR) return stat; 00033 return ncp1->dispatch->inq_type_equal(ncid1,typeid1,ncid2,typeid2,equal); 00034 } 00035 /* All these functions are part of this named group... */ 00040 00058 int 00059 nc_inq_typeid(int ncid, const char *name, nc_type *typeidp) 00060 { 00061 NC* ncp; 00062 int stat = NC_check_id(ncid,&ncp); 00063 if(stat != NC_NOERR) return stat; 00064 return ncp->dispatch->inq_typeid(ncid,name,typeidp); 00065 } 00066 00101 int 00102 nc_inq_user_type(int ncid, nc_type xtype, char *name, size_t *size, 00103 nc_type *base_nc_typep, size_t *nfieldsp, int *classp) 00104 { 00105 NC *ncp; 00106 int stat = NC_check_id(ncid,&ncp); 00107 if(stat != NC_NOERR) return stat; 00108 return ncp->dispatch->inq_user_type(ncid, xtype, name, size, 00109 base_nc_typep, nfieldsp, classp); 00110 } /* End of named group ...*/