wrenbind17::StdListBindings

wrenbind17::StdListBindings #

More…

#include <std.hpp>

Public Types #

Name
typedef std::list< T >::iterator Iterator
typedef std::list< T > List

Public Functions #

Name
void setIndex(List & self, size_t index, T value)
const T & getIndex(List & self, size_t index)
void add(List & self, T value)
std::variant< bool, Iterator > iterate(List & self, std::variant< std::nullptr_t, Iterator > other)
const T & iteratorValue(List & self, std::shared_ptr< Iterator > other)
size_t count(List & self)
T removeAt(List & self, int32_t index)
void insert(List & self, int32_t index, T value)
bool contains(List & self, const T & value)
T pop(List & self)
void clear(List & self)
size_t size(List & self)
bool empty(List & self)
void bind(ForeignModule & m, const std::string & name)

Detailed Description #

template <typename T >
class wrenbind17::StdListBindings;

Public Types Documentation #

typedef Iterator #

typedef std::list<T>::iterator wrenbind17::StdListBindings< T >::Iterator;

typedef List #

typedef std::list<T> wrenbind17::StdListBindings< T >::List;

Public Functions Documentation #

function setIndex #

static inline void setIndex(
    List & self,
    size_t index,
    T value
)

function getIndex #

static inline const T & getIndex(
    List & self,
    size_t index
)

function add #

static inline void add(
    List & self,
    T value
)

function iterate #

static inline std::variant< bool, Iterator > iterate(
    List & self,
    std::variant< std::nullptr_t, Iterator > other
)

function iteratorValue #

static inline const T & iteratorValue(
    List & self,
    std::shared_ptr< Iterator > other
)

function count #

static inline size_t count(
    List & self
)

function removeAt #

static inline T removeAt(
    List & self,
    int32_t index
)

function insert #

static inline void insert(
    List & self,
    int32_t index,
    T value
)

function contains #

static inline bool contains(
    List & self,
    const T & value
)

function pop #

static inline T pop(
    List & self
)

function clear #

static inline void clear(
    List & self
)

function size #

static inline size_t size(
    List & self
)

function empty #

static inline bool empty(
    List & self
)

function bind #

static inline void bind(
    ForeignModule & m,
    const std::string & name
)

Updated on 17 October 2023 at 12:26:25 UTC