class

BACnet::ObjectIdentifier

Inherits BinData < Reference < Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
PARTS = [{type: "bitfield", name: 2, cls: BACnet::ObjectIdentifier, onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}] of Nil
REMAINING = [] of Nil

Constructors

new(object_type : ObjectType, instance_number : Int)
Source

Class methods

bit_fields
Source

Instance 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.

Source
inspect(io : IO) : Nil

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
Source
instance_number
instance_number=(instance_number : UInt32)
object_type

this is nil if a proprietary value, use object_value instead if expecting proprietary

Source
object_type=(object_type : ObjectType)
Source
object_type=(object_type : Int)
Source
object_value
object_value=(object_value : UInt16)
proprietary?
Source
standard?
Source
to_s(io)
Source

Nested types