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.



333
334
335
# File 'lib/hdf5.rb', line 333

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



330
331
332
# File 'lib/hdf5.rb', line 330

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

Instance Method Details

#open_group(name) ⇒ Object



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

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