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

Instance Method Summary

Macro 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

Constructor Detail

def self.new(form : Boolean) #

[View source]

Class Method Detail

def self.bit_fields #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def reserved : UInt8 #

def reserved=(reserved : UInt8) #

def state : Bool #

Whether the underlying boolean is true or false.


[View source]
def state=(state : UInt8) #

Whether the underlying boolean is true or false.


def state=(value : Bool) #

Whether the underlying boolean is true or false.


[View source]
def to_form(assembler) #

[View source]

Macro Detail

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

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


[View source]
macro novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


[View source]
macro novika_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a boolean form.

Its type is SnapshotType::Boolean.


[View source]