Class: Hdf5::H5Group

Inherits:
Object
  • Object
show all
Defined in:
lib/hdf5.rb

Overview

Object representing an HDF5 group

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ H5Group

Returns a new instance of H5Group.



340
341
342
# File 'lib/hdf5.rb', line 340

def initialize(id)
  @id = id
end

Class Method Details

.open(location_id, name) ⇒ Object

Open the group. location_id is the id of the parent file or group



337
338
339
# File 'lib/hdf5.rb', line 337

def self.open(location_id, name)
  return new(Hdf5.basic_group_open(location_id, name, 0))
end

Instance Method Details

#open_group(name) ⇒ Object



343
344
345
# File 'lib/hdf5.rb', line 343

def open_group(name)
  return H5Group.open(@id, name)
end