10 #include "ncdispatch.h"
96 nc_get_att(
int ncid,
int varid,
const char *name,
void *value)
102 if ((stat = NC_check_id(ncid, &ncp)))
110 return ncp->dispatch->get_att(ncid, varid, name, value, xtype);
188 int stat = NC_check_id(ncid, &ncp);
191 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_CHAR);
221 int stat = NC_check_id(ncid, &ncp);
224 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_BYTE);
321 int stat = NC_check_id(ncid, &ncp);
324 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_UBYTE);
354 int stat = NC_check_id(ncid, &ncp);
357 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_SHORT);
387 int stat = NC_check_id(ncid, &ncp);
390 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_INT);
420 int stat = NC_check_id(ncid, &ncp);
423 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value, longtype);
453 int stat = NC_check_id(ncid, &ncp);
456 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_FLOAT);
486 int stat = NC_check_id(ncid, &ncp);
489 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_DOUBLE);
519 int stat = NC_check_id(ncid, &ncp);
522 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_UBYTE);
552 int stat = NC_check_id(ncid, &ncp);
555 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_USHORT);
585 int stat = NC_check_id(ncid, &ncp);
588 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_UINT);
618 int stat = NC_check_id(ncid, &ncp);
621 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_INT64);
651 int stat = NC_check_id(ncid, &ncp);
654 return ncp->dispatch->get_att(ncid, varid, name, (
void *)value,
NC_UINT64);
744 int stat = NC_check_id(ncid, &ncp);
747 return ncp->dispatch->get_att(ncid,varid,name,(
void*)value,
NC_STRING);