wrenbind17::ForeignProp #
Module: Wrenbind17
Holds information about a foreign property of a foreign class.
#include <foreign.hpp>
Inherited by wrenbind17::ForeignPropImpl< T, V >
Public Functions #
| Name | |
|---|---|
| ForeignProp(std::string name, WrenForeignMethodFn getter, WrenForeignMethodFn setter, const bool isStatic) | |
| virtual | ~ForeignProp() =default |
| ForeignProp(const ForeignProp & other) | |
| void | generate(std::ostream & os) const |
| const std::string & | getName() constReturns the name of this property. |
| WrenForeignMethodFn | getSetter()Returns the pointer to the raw function for settings this property. |
| WrenForeignMethodFn | getGetter()Returns the pointer to the raw function for getting this property. |
| bool | getStatic() constReturns true if this property is static. |
Protected Attributes #
| Name | |
|---|---|
| std::string | name |
| WrenForeignMethodFn | getter |
| WrenForeignMethodFn | setter |
| bool | isStatic |
Public Functions Documentation #
function ForeignProp #
inline ForeignProp(
std::string name,
WrenForeignMethodFn getter,
WrenForeignMethodFn setter,
const bool isStatic
)
function ~ForeignProp #
virtual ~ForeignProp() =default
function ForeignProp #
ForeignProp(
const ForeignProp & other
)
function generate #
inline void generate(
std::ostream & os
) const
function getName #
inline const std::string & getName() const
Returns the name of this property.
function getSetter #
inline WrenForeignMethodFn getSetter()
Returns the pointer to the raw function for settings this property.
function getGetter #
inline WrenForeignMethodFn getGetter()
Returns the pointer to the raw function for getting this property.
function getStatic #
inline bool getStatic() const
Returns true if this property is static.
Protected Attributes Documentation #
variable name #
std::string name;
variable getter #
WrenForeignMethodFn getter;
variable setter #
WrenForeignMethodFn setter;
variable isStatic #
bool isStatic;
Updated on 17 October 2023 at 12:26:25 UTC