wrenbind17::ForeignMethodImpl #
Module: Wrenbind17
Type specific implementation of foreign method. More…
#include <foreign.hpp>
Inherits from wrenbind17::ForeignMethod
Public Functions #
Name | |
---|---|
ForeignMethodImpl(std::string name, std::string signature, WrenForeignMethodFn fn, const bool isStatic) | |
~ForeignMethodImpl() =default | |
virtual void | generate(std::ostream & os) const override |
std::string | generateSignature(const std::string & name) |
std::string | generateSignature(const ForeignMethodOperator name) |
std::string | generateName(const ForeignMethodOperator name) |
Additional inherited members #
Public Functions inherited from wrenbind17::ForeignMethod
Name | |
---|---|
ForeignMethod(std::string name, WrenForeignMethodFn method, const bool isStatic) | |
virtual | ~ForeignMethod() =default |
ForeignMethod(const ForeignMethod & other) | |
const std::string & | getName() constReturns the name of the method. |
WrenForeignMethodFn | getMethod() constReturns the raw pointer of this method. |
bool | getStatic() constReturns true if this method is marked as static. |
Protected Attributes inherited from wrenbind17::ForeignMethod
Name | |
---|---|
std::string | name |
WrenForeignMethodFn | method |
bool | isStatic |
Detailed Description #
template <typename... Args>
class wrenbind17::ForeignMethodImpl;
Type specific implementation of foreign method.
Public Functions Documentation #
function ForeignMethodImpl #
inline ForeignMethodImpl(
std::string name,
std::string signature,
WrenForeignMethodFn fn,
const bool isStatic
)
function ~ForeignMethodImpl #
~ForeignMethodImpl() =default
function generate #
inline virtual void generate(
std::ostream & os
) const override
Reimplements: wrenbind17::ForeignMethod::generate
function generateSignature #
static inline std::string generateSignature(
const std::string & name
)
function generateSignature #
static inline std::string generateSignature(
const ForeignMethodOperator name
)
function generateName #
static inline std::string generateName(
const ForeignMethodOperator name
)
Updated on 17 October 2023 at 12:26:25 UTC