Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::meta_any_proxy::meta_any_proxy_impl Struct Reference

Implementation containing the deferred access functions. More...

#include <inspector.h>

Public Attributes

std::function< bool(entt::meta_any &)> getter
 
std::function< bool(meta_any_proxy &proxy, const entt::meta_any &, uint64_t execution_count)> setter
 
std::function< std::string()> get_name
 Function to get the property path as a string for debugging and error reporting.
 

Detailed Description

Implementation containing the deferred access functions.

These functions are evaluated fresh on each property access, ensuring the property path is validated and navigated safely every time.

Definition at line 205 of file inspector.h.

Member Data Documentation

◆ get_name

std::function<std::string()> unravel::meta_any_proxy::meta_any_proxy_impl::get_name

Function to get the property path as a string for debugging and error reporting.

Definition at line 216 of file inspector.h.

◆ getter

std::function<bool(entt::meta_any&)> unravel::meta_any_proxy::meta_any_proxy_impl::getter

Function to retrieve the current value by evaluating the property path Returns false if any step in the path is invalid (safe failure)

Definition at line 209 of file inspector.h.

◆ setter

std::function<bool(meta_any_proxy& proxy, const entt::meta_any&, uint64_t execution_count)> unravel::meta_any_proxy::meta_any_proxy_impl::setter

Function to set a new value by navigating the property path execution_count tracks undo/redo cycles to avoid duplicate recordings

Definition at line 213 of file inspector.h.


The documentation for this struct was generated from the following file: