class Novika::ImagePayload::Capabilities

Overview

Holds information about the capabilities required to run this image.

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

Holds information about the capabilities required to run this image.

KLASS_NAME = [Novika::ImagePayload::Capabilities]

Holds information about the capabilities required to run this image.

PARTS = [{type: "basic", name: count, cls: UInt64, onlyif: nil, verify: nil, value: -> do required.size end}, {type: "array", name: required, cls: CapabilityId, onlyif: nil, verify: nil, length: -> do count end, value: nil}] of Nil

Holds information about the capabilities required to run this image.

REMAINING = [] of Nil

Holds information about the capabilities required to run this image.

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

Holds information about the capabilities required to run this image.


Instance Method Detail

def __format__ : IO::ByteFormat #

def count : UInt64 #

Holds the amount of required capabilities.


def count=(count : UInt64) #

Holds the amount of required capabilities.


def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : Novika::ImagePayload | Nil) #

Group fields might need access to data in the parent


def required : Array(CapabilityId) #

Holds IDs of required capabilities (namely ICapabilityClass.id).


def required=(required : Array(CapabilityId)) #

Holds IDs of required capabilities (namely ICapabilityClass.id).


Macro Detail

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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.


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

Holds information about the capabilities required to run this image.