wrenbind17::AbstractMapBindings #
#include <std.hpp>
Public Types #
| Name | |
|---|---|
| typedef Map::key_type | K | 
| typedef Map::mapped_type | T | 
| typedef Map::iterator | Iterator | 
| typedef Map::value_type | Pair | 
Public Functions #
| Name | |
|---|---|
| void | setIndex(Map & self, const K & key, T value) | 
| T & | getIndex(Map & self, const K & key) | 
| std::variant< T, std::nullptr_t > | remove(Map & self, const K & key) | 
| bool | containsKey(Map & self, const K & key) | 
| size_t | count(Map & self) | 
| void | clear(Map & self) | 
| size_t | size(Map & self) | 
| bool | empty(Map & self) | 
| std::variant< bool, Iterator > | iterate(Map & self, std::variant< std::nullptr_t, Iterator > other) | 
| Pair | iteratorValue(Map & self, std::shared_ptr< Iterator > other) | 
| const K & | pairKey(Pair & pair) | 
| const T & | pairValue(Pair & pair) | 
| void | bind(ForeignModule & m, const std::string & name) | 
Detailed Description #
template <typename Map >
class wrenbind17::AbstractMapBindings;
Public Types Documentation #
typedef K #
typedef Map::key_type wrenbind17::AbstractMapBindings< Map >::K;
typedef T #
typedef Map::mapped_type wrenbind17::AbstractMapBindings< Map >::T;
typedef Iterator #
typedef Map::iterator wrenbind17::AbstractMapBindings< Map >::Iterator;
typedef Pair #
typedef Map::value_type wrenbind17::AbstractMapBindings< Map >::Pair;
Public Functions Documentation #
function setIndex #
static inline void setIndex(
    Map & self,
    const K & key,
    T value
)
function getIndex #
static inline T & getIndex(
    Map & self,
    const K & key
)
function remove #
static inline std::variant< T, std::nullptr_t > remove(
    Map & self,
    const K & key
)
function containsKey #
static inline bool containsKey(
    Map & self,
    const K & key
)
function count #
static inline size_t count(
    Map & self
)
function clear #
static inline void clear(
    Map & self
)
function size #
static inline size_t size(
    Map & self
)
function empty #
static inline bool empty(
    Map & self
)
function iterate #
static inline std::variant< bool, Iterator > iterate(
    Map & self,
    std::variant< std::nullptr_t, Iterator > other
)
function iteratorValue #
static inline Pair iteratorValue(
    Map & self,
    std::shared_ptr< Iterator > other
)
function pairKey #
static inline const K & pairKey(
    Pair & pair
)
function pairValue #
static inline const T & pairValue(
    Pair & pair
)
function bind #
static inline void bind(
    ForeignModule & m,
    const std::string & name
)
Updated on 17 October 2023 at 12:26:25 UTC