class
Bindgen::Configuration::Container
- Bindgen::Configuration::Container
- Reference
- Object
Overview
Configuration of template container types and their instantiations.
Included Modules
- YAML::Serializable
Defined in:
bindgen/configuration.crConstructors
Instance Method Summary
-
#access_method : String
Method to access an element at an index.
-
#access_method=(access_method : String)
Method to access an element at an index.
-
#class : String
Class name of the template type
-
#class=(class __arg0 : String)
Class name of the template type
-
#count_method : String
Method telling if an associative container has a key.
-
#count_method=(count_method : String)
Method telling if an associative container has a key.
-
#erase_method : String
Method removing the entry of a key from an associative container.
-
#erase_method=(erase_method : String)
Method removing the entry of a key from an associative container.
-
#insert_method : String | Nil
Method adding an entry to an associative container, replacing the value of an existing key:
map.insert(key, value). -
#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). -
#instantiations : Set(Array(String))
List of instantiations to create.
-
#instantiations=(instantiations : Set(Array(String)))
List of instantiations to create.
-
#push_method : String
Method to add an element at the end.
-
#push_method=(push_method : String)
Method to add an element at the end.
-
#size_method : String
Method telling the current count of elements.
-
#size_method=(size_method : String)
Method telling the current count of elements.
-
#type : Type
Type of the container
-
#type=(type : Type)
Type of the container
Constructor Detail
Instance Method Detail
Method telling if an associative container has a key. Returns the
count of entries of the key, or a bool.
Method telling if an associative container has a key. Returns the
count of entries of the key, or a bool.
Method removing the entry of a key from an associative container.
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).
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).