Class: Icss::Meta::FixedSchema

Inherits:
StructuredSchema show all
Defined in:
lib/icss/type/structured_schema.rb,
lib/icss/type.rb

Overview

Description of an Fixed type.

Fixed uses the type name “fixed” and supports the attributes:

  • name: a string naming this fixed (required).

  • namespace, a string that qualifies the name;

  • size: an integer, specifying the number of bytes per value (required).

    For example, 16-byte quantity may be declared with:

    {"type": "fixed", "size": 16, "name": "md5"}
    

Instance Attribute Summary

Attributes inherited from NamedSchema

#is_core

Instance Method Summary collapse

Methods inherited from NamedSchema

#attrs_to_inscribe, #is_core?, #model_klass, receive, #to_hash

Methods included from ReceiverModel::ActsAsHash

#[], #[]=, #attributes, #delete, included, #keys, #to_hash

Methods included from RecordModel

#attr_set?, included, #receive!, #to_zaml

Instance Method Details

#typeObject



248
# File 'lib/icss/type/structured_schema.rb', line 248

def type() :fixed ; end