KNX::IndividualAddress
Inherits KNX::Address < BinData < Reference < Object
Constants
AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [KNX::IndividualAddress]
PARTS = [{type: "bitfield", name: 4, cls: KNX::IndividualAddress,
onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}, {type: "basic", name: device_address, 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.
area_address
area_address=(area_address : UInt8)
device_address
device_address=(device_address : UInt8)
group?
Sourceline_address
line_address=(line_address : 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.