class Novika::BooleanSnapshot

Overview

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.

KLASS_NAME = [Novika::BooleanSnapshot]

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.

PARTS = [{type: "bitfield", name: 0, cls: Novika::BooleanSnapshot, onlyif: nil, verify: nil}] of Nil

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.

REMAINING = [] of Nil

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Novika::Snapshot

to_form(assembler : BlockAssembler) to_form

Class methods inherited from class Novika::Snapshot

bit_fields bit_fields

Macros inherited from class Novika::Snapshot

novika_snapshot(name, onlyif = nil, verify = nil, value = nil) novika_snapshot

Constructor Detail

def self.new(form : Boolean) #

Class Method Detail

def self.bit_fields #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


Macro Detail

macro novika_block_ref_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


macro novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


macro novika_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


Instance Method Detail

def __format__ : IO::ByteFormat #

def reserved : UInt8 #

def reserved=(reserved : UInt8) #

def state : Bool #

Whether the underlying boolean is true or false.


def state=(state : UInt8) #

Whether the underlying boolean is true or false.


def state=(value : Bool) #

Whether the underlying boolean is true or false.


def to_form(assembler) #