7 #include "ncdispatch.h"
77 for(i = 0; i < len; i++)
113 int stat = NC_check_id(ncid,&ncp);
115 return ncp->dispatch->def_vlen(ncid,name,base_typeid,xtypep);
141 int stat =
nc_inq_user_type(ncid,xtype,name,datum_sizep,base_nc_typep,NULL,&
class);
168 nc_put_vlen_element(
int ncid,
int typeid1,
void *vlen_element,
size_t len,
const void *data)
171 int stat = NC_check_id(ncid,&ncp);
173 return ncp->dispatch->put_vlen_element(ncid,typeid1,vlen_element,len,data);
196 nc_get_vlen_element(
int ncid,
int typeid1,
const void *vlen_element,
197 size_t *len,
void *data)
200 int stat = NC_check_id(ncid,&ncp);
202 return ncp->dispatch->get_vlen_element(ncid, typeid1, vlen_element,
int nc_free_vlens(size_t len, nc_vlen_t vlens[])
Free an array of vlens given the number of elements and an array.
int nc_type
The nc_type type is just an int.
int nc_inq_vlen(int ncid, nc_type xtype, char *name, size_t *datum_sizep, nc_type *base_nc_typep)
Learn about a VLEN type.
#define NC_VLEN
vlen (variable-length) types
#define NC_EBADTYPE
Not a netcdf data type.
void * p
Pointer to VL data.
int nc_free_vlen(nc_vlen_t *vl)
Free memory in a VLEN object.
This is the type of arrays of vlens.
#define NC_NOERR
No Error.
int nc_def_vlen(int ncid, const char *name, nc_type base_typeid, nc_type *xtypep)
Use this function to define a variable length array type.
EXTERNL int nc_inq_user_type(int ncid, nc_type xtype, char *name, size_t *size, nc_type *base_nc_typep, size_t *nfieldsp, int *classp)
Learn about a user defined type.