|
| | MetaPointerProperty (Class &owner, const StringView name, PointerType pointer) noexcept |
| | Creates a new property by using a pointer.
|
| |
| bool | isStatic () const noexcept override |
| |
| bool | isReadOnly () const noexcept override |
| |
| TypeID | getGetterReturnTypeID () const noexcept override |
| |
| TypeID | getSetterParameterTypeID () const noexcept override |
| |
| Box | get (const Box &target) const override |
| |
| void | set (const Box &target, const Box &value) const override |
| |
| void | set (const Box &target, Box &&value) const override |
| |
| | ClassProperty (Class &owner, StringView name) |
| |
| | ~ClassProperty () noexcept override |
| |
| MetaCategory | getCategory () const final |
| | Gets the category of the item.
|
| |
| TypeID | getTypeID () const noexcept |
| |
| Type | getType () const |
| |
| Type | getGetterReturnType () const |
| |
template<typename T >
requires (!std::is_same_v<std::decay_t<T>, Box> && !std::is_same_v<std::decay_t<T>, Box>) |
| auto | get (T &target) const |
| |
| Box | get () const |
| | Gets the value of a static property.
|
| |
| Type | getSetterParameterType () const |
| |
template<typename T , typename V >
requires (!std::is_same_v<std::decay_t<T>, Box> && !std::is_same_v<std::decay_t<V>, Box>) |
| void | set (T &target, const V &value) const |
| |
template<typename T , typename V >
requires (!std::is_same_v<std::decay_t<T>, Box> && !std::is_same_v<std::decay_t<V>, Box>) |
| void | set (T &target, V &value) const |
| |
template<typename T , typename V >
requires (!std::is_same_v<std::decay_t<T>, Box> && !std::is_same_v<std::decay_t<V>, Box>) |
| void | set (T &target, V &&value) const |
| |
| void | set (const Box &value) const |
| | Sets the property value.
|
| |
| void | set (Box &&value) const |
| |
template<typename V >
requires (!std::is_same_v<std::decay_t<V>, Box>) |
| void | set (const V &value) const |
| |
template<typename V >
requires (!std::is_same_v<std::decay_t<V>, Box>) |
| void | set (V &value) const |
| |
template<typename V >
requires (!std::is_same_v<std::decay_t<V>, Box>) |
| void | set (V &&value) const |
| |
| virtual | ~MetaItem () noexcept=default |
| |
template<
typename PointerType>
class CeresEngine::MetaPointerProperty< PointerType >
An implementation of MetaProperty that uses a direct pointer (or pointer to member) to access the property.
- Template Parameters
-
| PointerType | The type of the property pointer. |