class HDF5::Attributes

Included Modules

Defined in:

hdf5/attributes.cr

Constant Summary

NUMERIC_TYPES = {Int8, UInt8, Int16, UInt16, Int32, UInt32, Int64, UInt64, Float32, Float64}

Constructors

Instance Method Summary

Constructor Detail

def self.new(loc_id : LibHDF5::Hid) #

[View source]

Instance Method Detail

def [](name : String) : Attribute #

[View source]
def []=(name : String, value : String) #

[View source]
def []=(name : String, value : Array(String)) #

[View source]
def []=(name : String, value : Reference) #

[View source]
def []=(name : String, value : Array(Reference)) #

[View source]
def []=(name : String, value : Array(Array({String, HDF5::Attribute}))) forall T #

[View source]
def []=(name : String, value : Int8) #

[View source]
def []=(name : String, value : Array(Int8)) #

[View source]
def []=(name : String, value : UInt8) #

[View source]
def []=(name : String, value : Array(UInt8)) #

[View source]
def []=(name : String, value : Int16) #

[View source]
def []=(name : String, value : Array(Int16)) #

[View source]
def []=(name : String, value : UInt16) #

[View source]
def []=(name : String, value : Array(UInt16)) #

[View source]
def []=(name : String, value : Int32) #

[View source]
def []=(name : String, value : Array(Int32)) #

[View source]
def []=(name : String, value : UInt32) #

[View source]
def []=(name : String, value : Array(UInt32)) #

[View source]
def []=(name : String, value : Int64) #

[View source]
def []=(name : String, value : Array(Int64)) #

[View source]
def []=(name : String, value : UInt64) #

[View source]
def []=(name : String, value : Array(UInt64)) #

[View source]
def []=(name : String, value : Float32) #

[View source]
def []=(name : String, value : Array(Float32)) #

[View source]
def []=(name : String, value : Float64) #

[View source]
def []=(name : String, value : Array(Float64)) #

[View source]
def delete(name : String) : Nil #

[View source]
def each(& : Tuple(String, Attribute) -> ) : Nil #
Description copied from module Enumerable({String, HDF5::Attribute})

Must yield this collection's elements to the block.


[View source]
def get(name : String, type : T.class) : {String, HDF5::Attribute} forall T #

[View source]
def get?(name : String, type : T.class) : {String, HDF5::Attribute} | Nil forall T #

[View source]
def has_key?(name : String) : Bool #

[View source]
def keys : Array(String) #

[View source]