class
BACnet::ObjectIdentifier
- BACnet::ObjectIdentifier
- BinData
- Reference
- Object
Defined in:
bacnet/objects/object_identifier.crConstant Summary
-
AFTER_DESERIALIZE =
[] of Nil -
BEFORE_SERIALIZE =
[] of Nil -
ENDIAN =
["big"] -
KLASS_NAME =
[BACnet::ObjectIdentifier] -
PARTS =
[{type: "bitfield", name: 2, cls: BACnet::ObjectIdentifier, onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}] of Nil -
REMAINING =
[] of Nil
Constructors
Class Method Summary
Instance Method Summary
-
#__format__ : IO::ByteFormat
A
grouporbit_fieldcaptures the endianness at its declaration point, so declaringendianafter one would silently leave it system-endian. -
#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.
- #instance_number : UInt32
- #instance_number=(instance_number : UInt32)
-
#object_type : ObjectType | Nil
this is nil if a proprietary value, use object_value instead if expecting proprietary
- #object_type=(object_type : ObjectType)
- #object_type=(object_type : Int)
- #object_value : UInt16
- #object_value=(object_value : UInt16)
- #proprietary? : Bool
- #standard? : Bool
- #to_s(io)
Constructor Detail
Class Method Detail
Instance Method Detail
def __format__ : IO::ByteFormat
#
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.
def inspect(io : IO) : Nil
#
Description copied from class Reference
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>
def object_type : ObjectType | Nil
#
this is nil if a proprietary value, use object_value instead if expecting proprietary