KNX::GroupAddress
Inherits KNX::Address < BinData < Reference < Object
Constants
AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [KNX::GroupAddress]
PARTS = [{type: "bitfield", name: 2, cls: KNX::GroupAddress,
onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}, {type: "basic", name: sub_group, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
REMAINING = [] of Nil
Constructors
parse(address : String) : self
SourceClass methods
bit_fields
Sourceparse_friendly(string)
SourceInstance methods
__format__
A group or bit_field captures the endianness at its declaration point, so
declaring endian after one would silently leave it system-endian. Fail loudly.
_reserved_
_reserved_=(_reserved_ : UInt8)
main_group
main_group=(main_group : UInt8)
middle_group
middle_group=(middle_group : UInt8)
sub_group
sub_group=(sub_group : UInt8)
to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.