wrenbind17::Handle #
Module: Wrenbind17
Holds a reference to some Wren type. More…
#include <handle.hpp>
Public Functions #
Name | |
---|---|
Handle() | |
Handle(const std::shared_ptr< WrenVM > vm, WrenHandle * handle) | |
~Handle() | |
Handle(const Handle & other) | |
Handle(Handle && other) | |
Handle & | operator=(const Handle & other) |
Handle & | operator=(Handle && other) |
void | swap(Handle & other) |
WrenHandle * | getHandle() const |
WrenVM * | getVm() const |
const std::weak_ptr< WrenVM > & | getVmWeak() const |
void | reset() |
operator bool() const |
Detailed Description #
class wrenbind17::Handle;
Holds a reference to some Wren type.
This is used by Map, Method, and Variable classes.
Public Functions Documentation #
function Handle #
inline Handle()
function Handle #
inline Handle(
const std::shared_ptr< WrenVM > vm,
WrenHandle * handle
)
function ~Handle #
inline ~Handle()
function Handle #
Handle(
const Handle & other
)
function Handle #
inline Handle(
Handle && other
)
function operator= #
Handle & operator=(
const Handle & other
)
function operator= #
inline Handle & operator=(
Handle && other
)
function swap #
inline void swap(
Handle & other
)
function getHandle #
inline WrenHandle * getHandle() const
function getVm #
inline WrenVM * getVm() const
function getVmWeak #
inline const std::weak_ptr< WrenVM > & getVmWeak() const
function reset #
inline void reset()
function operator bool #
inline operator bool() const
Updated on 17 October 2023 at 12:26:25 UTC