Proxy object for associative containers.
More...
#include <meta.hpp>
Proxy object for associative containers.
Definition at line 100 of file meta.hpp.
◆ iterator
Meta iterator type.
Definition at line 107 of file meta.hpp.
◆ size_type
Unsigned integer type.
Definition at line 105 of file meta.hpp.
◆ meta_associative_container()
entt::meta_associative_container::meta_associative_container |
( |
const meta_ctx & | area | ) |
|
|
inlinenoexcept |
Context aware constructor.
- Parameters
-
area | The context from which to search for meta types. |
Definition at line 116 of file meta.hpp.
◆ begin()
Returns an iterator to the first element of a container.
- Returns
- An iterator to the first element of the container.
Definition at line 1987 of file meta.hpp.
◆ clear()
bool entt::meta_associative_container::clear |
( |
| ) |
|
|
inline |
Clears the content of a container.
- Returns
- True in case of success, false otherwise.
Definition at line 1977 of file meta.hpp.
◆ end()
Returns an iterator that is past the last element of a container.
- Returns
- An iterator that is past the last element of the container.
Definition at line 1992 of file meta.hpp.
◆ erase()
Removes the specified element from a container.
- Parameters
-
key | The key of the element to remove. |
- Returns
- A bool denoting whether the removal took place.
Definition at line 2013 of file meta.hpp.
◆ find()
Returns an iterator to the element with a given key, if any.
- Parameters
-
key | The key of the element to search. |
- Returns
- An iterator to the element with the given key, if any.
Definition at line 2022 of file meta.hpp.
◆ insert()
Inserts a key-only or key/value element into a container.
- Parameters
-
key | The key of the element to insert. |
value | The value of the element to insert, if needed. |
- Returns
- A bool denoting whether the insertion took place.
Definition at line 2002 of file meta.hpp.
◆ key_type()
meta_type entt::meta_associative_container::key_type |
( |
| ) |
const |
|
inlinenoexcept |
Returns the meta key type of a container.
- Returns
- The meta key type of the a container.
Definition at line 1954 of file meta.hpp.
◆ mapped_type()
meta_type entt::meta_associative_container::mapped_type |
( |
| ) |
const |
|
inlinenoexcept |
Returns the meta mapped type of a container.
- Returns
- The meta mapped type of the a container.
Definition at line 1962 of file meta.hpp.
◆ operator bool()
entt::meta_associative_container::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Returns false if a proxy is invalid, true otherwise.
- Returns
- False if the proxy is invalid, true otherwise.
Definition at line 2030 of file meta.hpp.
◆ rebind()
void entt::meta_associative_container::rebind |
( |
Type & | instance | ) |
|
|
inlinenoexcept |
Rebinds a proxy object to an associative container type.
- Template Parameters
-
Type | Type of container to wrap. |
- Parameters
-
instance | The container to wrap. |
Definition at line 125 of file meta.hpp.
◆ reserve()
Reserves storage for at least the given number of elements.
- Parameters
-
sz | The new capacity of the container. |
- Returns
- True in case of success, false otherwise.
Definition at line 1982 of file meta.hpp.
◆ size()
Returns the size of a container.
- Returns
- The size of the container.
Definition at line 1972 of file meta.hpp.
◆ value_type()
meta_type entt::meta_associative_container::value_type |
( |
| ) |
const |
|
inlinenoexcept |
Returns the meta value type of a container.
- Returns
- The meta value type of the container.
Definition at line 1967 of file meta.hpp.
The documentation for this class was generated from the following file: