class Novika::BlockRefSnapshot

Overview

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.

KLASS_NAME = [Novika::BlockRefSnapshot]

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.

PARTS = [{type: "basic", name: id, cls: UInt64, onlyif: nil, verify: nil, value: nil}] of Nil

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.

REMAINING = [] of Nil

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.

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(id : UInt64) #

[View source]
def self.new(block : Form) #

[View source]

Class Method Detail

def self.bit_fields #

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def id : UInt64 #

Holds unique id of the block this reference points to, in BlockPool.


def id=(id : UInt64) #

Holds unique id of the block this reference points to, in BlockPool.


def to_form(assembler) #

[View source]

Macro Detail

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

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.


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

A unique, integer id-based reference to a block found in the one-and-only BlockPool.

Its type is SnapshotType::BlockRef.


[View source]