module OMX::H5Types

A module containing functions for relating HDF5 types to the appropriate FFI symbol. At the moment these are set by hand, but at some point in the future they should be set dynamically by interrogation of the the library.

Public Class Methods

H5G_obj_t() click to toggle source
# File lib/OpenMatriX.rb, line 87
def H5G_obj_t
  enum [:H5G_UNKNOWN, :H5G_GROUP, :H5G_DATASET, :H5G_TYPE, :H5G_LINK,
    :H5G_UDLINK, :H5G_RESERVED_5,       :H5G_RESERVED_6, :H5G_RESERVED_7]
end
H5T_C_S1() click to toggle source
# File lib/OpenMatriX.rb, line 84
def H5T_C_S1
  :string
end
h5t_class_t() click to toggle source
# File lib/OpenMatriX.rb, line 66
def h5t_class_t
  enum [
    :h5t_no_class         , -1,  #*error                                      */
    :h5t_integer          , 0,   #*integer types                              */
    :h5t_float            , 1,   #*floating-point types                       */
    :h5t_time             , 2,   #*date and time types                        */
    :h5t_string           , 3,   #*character string types                     */
    :h5t_bitfield         , 4,   #*bit field types                            */
    :h5t_opaque           , 5,   #*opaque types                               */
    :h5t_compound         , 6,   #*compound types                             */
    :h5t_reference        , 7,   #*reference types                            */
    :h5t_enum    , 8, #*enumeration types                          */
    :h5t_vlen    , 9, #*variable-length types                      */
    :h5t_array           , 10,  #*array types                                */

    :h5t_nclasses                #*this must be last                          */
  ]
end
hbool_t() click to toggle source
# File lib/OpenMatriX.rb, line 57
def hbool_t
  :uint
end
herr_t() click to toggle source
# File lib/OpenMatriX.rb, line 51
def herr_t
  :int
end
hid_t() click to toggle source
# File lib/OpenMatriX.rb, line 54
def hid_t
  :int
end
hsize_t() click to toggle source
# File lib/OpenMatriX.rb, line 63
def hsize_t
  :size_t
end
htri_t() click to toggle source
# File lib/OpenMatriX.rb, line 60
def htri_t
  :int
end
size_t() click to toggle source
# File lib/OpenMatriX.rb, line 94
def size_t
  :int
end
time_t() click to toggle source
# File lib/OpenMatriX.rb, line 91
def time_t
  :int
end