class

Zink::ObjectTable

Inherits Reference < Object

Constants

ATTRIBUTE_COUNT = 32
DEFAULT_PROPERTY_COUNT = 31
OBJECT_ENTRY_SIZE = 9

Constructors

new(memory : Memory, header : Header)
Source

Instance methods

active_attributes(object_number : UInt16) : Array(UInt8)
Source
all_properties(object_number : UInt16) : Hash(UInt8, UInt16)
Source
child(object_number : UInt16) : UInt8
Source
children(object_number : UInt16) : Array(UInt16)
Source
clear_attribute(object_number : UInt16, attribute_number : UInt8) : Nil
Source
get_next_property_number(object_number : UInt16, property_number : UInt8) : UInt8
Source
get_property(object_number : UInt16, property_number : UInt8) : UInt16
Source
get_property_address(object_number : UInt16, property_number : UInt8) : UInt16
Source
insert_object(object_number : UInt16, destination_number : UInt16) : Nil
Source
parent(object_number : UInt16) : UInt8
Source
property_length(property_data_address : UInt16) : UInt8
Source
property_table_address(object_number : UInt16) : UInt16
Source
put_property(object_number : UInt16, property_number : UInt8, value : UInt16) : Nil
Source
remove_object(object_number : UInt16) : Nil
Source
set_attribute(object_number : UInt16, attribute_number : UInt8) : Nil
Source
set_child(object_number : UInt16, value : UInt8) : Nil
Source
set_parent(object_number : UInt16, value : UInt8) : Nil
Source
set_sibling(object_number : UInt16, value : UInt8) : Nil
Source
short_name_address(object_number : UInt16) : UInt16
Source
short_name_word_count(object_number : UInt16) : UInt8
Source
sibling(object_number : UInt16) : UInt8
Source
test_attribute(object_number : UInt16, attribute_number : UInt8) : Bool
Source