Back to index

salome-kernel  6.5.0
Functions
HDFattrGetSize.c File Reference
#include "hdfi.h"
#include <hdf5.h>

Go to the source code of this file.

Functions

hdf_type HDFattrGetSize (hdf_idt id)

Function Documentation

Definition at line 32 of file HDFattrGetSize.c.

{
  hdf_type ret;
  hdf_idt type_id;

  if ((type_id = H5Aget_type(id)) < 0)
    return HDF_NONE;

  ret = (hdf_type)H5Tget_size(type_id);

  H5Tclose(type_id);

  return ret;
}