class KNX::IndividualAddress
- KNX::IndividualAddress
- KNX::Address
- BinData
- Reference
- Object
Defined in:
knx/address.crConstant Summary
-
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}, {type: "basic", name: device_address, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
-
REMAINING =
[] of Nil
Constructors
Class Method Summary
Macro Summary
- knx_address(name, onlyif = nil, verify = nil, value = nil)
- knx_group_address(name, onlyif = nil, verify = nil, value = nil)
- knx_group_address2_level(name, onlyif = nil, verify = nil, value = nil)
- knx_header(name, onlyif = nil, verify = nil, value = nil)
- knx_header_timer(name, onlyif = nil, verify = nil, value = nil)
- knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil)
- knx_individual_address(name, onlyif = nil, verify = nil, value = nil)
Instance Method Summary
- #__format__ : IO::ByteFormat
- #area_address : UInt8
- #area_address=(area_address : UInt8)
- #device_address : UInt8
- #device_address=(device_address : UInt8)
- #group?
- #line_address : UInt8
- #line_address=(line_address : UInt8)
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Instance methods inherited from class KNX::Address
__format__ : IO::ByteFormat
__format__,
group?
group?,
to_i
to_i,
to_s : String
to_s
Constructor methods inherited from class KNX::Address
parse(address : String) : Address
parse
Class methods inherited from class KNX::Address
bit_fields
bit_fields,
parse(input : Int)parse(bytes : Bytes)
parse(io : IO) parse
Macros inherited from class KNX::Address
knx_address(name, onlyif = nil, verify = nil, value = nil)
knx_address,
knx_header(name, onlyif = nil, verify = nil, value = nil)
knx_header,
knx_header_timer(name, onlyif = nil, verify = nil, value = nil)
knx_header_timer,
knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil)
knx_header_wrapper
Constructor Detail
Class Method Detail
Macro Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
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
.