Class: Schema::Type::GroupAnyPointer::GroupParameter

Inherits:
Capnp::Struct
  • Object
show all
Defined in:
lib/capnp/generator/schema.capnp.rb

Constant Summary collapse

DEFAULT_SCOPE_ID =
0
DEFAULT_PARAMETER_INDEX =
0

Instance Method Summary collapse

Methods inherited from Capnp::Struct

decode_pointer, from_pointer, #initialize

Constructor Details

This class inherits a constructor from Capnp::Struct

Instance Method Details

#parameter_indexObject



745
# File 'lib/capnp/generator/schema.capnp.rb', line 745

def parameter_index = read_u16(10, 0)

#scope_idObject



742
# File 'lib/capnp/generator/schema.capnp.rb', line 742

def scope_id = read_u64(16, 0)

#to_objObject



747
748
749
750
751
752
# File 'lib/capnp/generator/schema.capnp.rb', line 747

def to_obj
  res = {}
  res["scope_id"] = scope_id
  res["parameter_index"] = parameter_index
  res
end