class Bindgen::Configuration::Container

Overview

Configuration of template container types and their instantiations.

Included Modules

Defined in:

bindgen/configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def access_method : String #

Method to access an element at an index.


[View source]
def access_method=(access_method : String) #

Method to access an element at an index.


[View source]
def class : String #

Class name of the template type


[View source]
def class=(class __arg0 : String) #

Class name of the template type


[View source]
def count_method : String #

Method telling if an associative container has a key. Returns the count of entries of the key, or a bool.


[View source]
def count_method=(count_method : String) #

Method telling if an associative container has a key. Returns the count of entries of the key, or a bool.


[View source]
def erase_method : String #

Method removing the entry of a key from an associative container.


[View source]
def erase_method=(erase_method : String) #

Method removing the entry of a key from an associative container.


[View source]
def insert_method : String | Nil #

Method adding an entry to an associative container, replacing the value of an existing key: map.insert(key, value). If unset, the bindgen_map_store helper is used instead, which assigns to the existing value or calls map.emplace(key, value).


[View source]
def insert_method=(insert_method : String | Nil) #

Method adding an entry to an associative container, replacing the value of an existing key: map.insert(key, value). If unset, the bindgen_map_store helper is used instead, which assigns to the existing value or calls map.emplace(key, value).


[View source]
def instantiations : Set(Array(String)) #

List of instantiations to create.


[View source]
def instantiations=(instantiations : Set(Array(String))) #

List of instantiations to create.


[View source]
def push_method : String #

Method to add an element at the end.


[View source]
def push_method=(push_method : String) #

Method to add an element at the end.


[View source]
def size_method : String #

Method telling the current count of elements.


[View source]
def size_method=(size_method : String) #

Method telling the current count of elements.


[View source]
def type : Type #

Type of the container


[View source]
def type=(type : Type) #

Type of the container


[View source]