7 #include "ncdispatch.h"
67 int stat = NC_check_id(ncid,&ncp);
69 return ncp->dispatch->def_compound(ncid,size,name,typeidp);
100 size_t offset,
nc_type field_typeid)
103 int stat = NC_check_id(ncid, &ncp);
105 return ncp->dispatch->insert_compound(ncid, xtype, name,
106 offset, field_typeid);
142 size_t offset,
nc_type field_typeid,
143 int ndims,
const int *dim_sizes)
146 int stat = NC_check_id(ncid,&ncp);
148 return ncp->dispatch->insert_array_compound(ncid,xtype,name,offset,field_typeid,ndims,dim_sizes);
176 size_t *sizep,
size_t *nfieldsp)
288 char *name,
size_t *offsetp,
289 nc_type *field_typeidp,
int *ndimsp,
293 int stat = NC_check_id(ncid,&ncp);
295 return ncp->dispatch->inq_compound_field(ncid, xtype, fieldid,
296 name, offsetp, field_typeidp,
325 int stat = NC_check_id(ncid,&ncp);
327 return ncp->dispatch->inq_compound_field(ncid, xtype, fieldid,
328 name, NULL, NULL, NULL,
357 int stat = NC_check_id(ncid,&ncp);
359 return ncp->dispatch->inq_compound_field(ncid,xtype,fieldid,NULL,offsetp,NULL,NULL,NULL);
387 int stat = NC_check_id(ncid,&ncp);
389 return ncp->dispatch->inq_compound_field(ncid,xtype,fieldid,NULL,NULL,field_typeidp,NULL,NULL);
417 int stat = NC_check_id(ncid,&ncp);
419 return ncp->dispatch->inq_compound_field(ncid,xtype,fieldid,NULL,NULL,NULL,ndimsp,NULL);
447 int stat = NC_check_id(ncid, &ncp);
449 return ncp->dispatch->inq_compound_field(ncid, xtype, fieldid,
450 NULL, NULL, NULL, NULL,
479 int stat = NC_check_id(ncid,&ncp);
481 return ncp->dispatch->inq_compound_fieldindex(ncid,xtype,name,fieldidp);