Back to index

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

Go to the source code of this file.

Functions

hdf_byte_order HDFdatasetGetOrder (hdf_idt dataset_id)

Function Documentation

Definition at line 33 of file HDFdatasetGetOrder.c.

{
  hdf_idt type_id;
  hdf_byte_order order;

  if ((type_id = H5Dget_type(dataset_id)) < 0)
    return H5T_ORDER_ERROR;

  order = H5Tget_order(type_id);

  H5Tclose(type_id);

  return order;
}