struct Bindgen::Processor::QtMetaObject::Container

Overview

A container instantiation (SPEC.md §Q.4): its C++ name, the kind (sequential, set or associative), the Crystal types of its elements as the wrapper names them, and its wrapper class.

Defined in:

bindgen/processor/qt_meta_object.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, kind : String, elements : Array(String), wrapper : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, kind _kind = @kind, elements _elements = @elements, wrapper _wrapper = @wrapper) #

[View source]
def elements : Array(String) #

def generics : Array(String) #

The Crystal generic the declaration of a member uses for it: the first of the alternatives is the one arg converts to.


[View source]
def kind : String #

def name : String #

def wrapper : String #