|
Unravel Engine C++ Reference
|
Implementation containing the deferred access functions. More...
#include <inspector.h>
Public Member Functions | |
| auto | get (entt::meta_any &result) -> bool |
| auto | set (meta_any_proxy &proxy, const entt::meta_any &value, uint64_t execution_count) -> bool |
| void | detach () |
Public Attributes | |
| std::shared_ptr< meta_any_proxy_impl > | parent |
| std::string | type_name |
| std::string | name |
| std::function< bool(entt::meta_any &)> | resolver |
| std::function< bool(entt::meta_any &)> | getter |
| std::function< bool(meta_any_proxy &proxy, const entt::meta_any &, uint64_t execution_count)> | setter |
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 223 of file inspector.h.
|
inline |
Definition at line 246 of file inspector.h.
|
inline |
Definition at line 236 of file inspector.h.
|
inline |
Definition at line 241 of file inspector.h.
| 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 264 of file inspector.h.
| std::string unravel::meta_any_proxy::meta_any_proxy_impl::name |
Definition at line 233 of file inspector.h.
| std::shared_ptr<meta_any_proxy_impl> unravel::meta_any_proxy::meta_any_proxy_impl::parent |
Points to the root proxy's impl in a proxy chain. Allows detaching the root from any proxy in the chain (e.g., from the leaf proxy stored in an action).
Definition at line 229 of file inspector.h.
| std::function<bool(entt::meta_any&)> unravel::meta_any_proxy::meta_any_proxy_impl::resolver |
Definition at line 260 of file inspector.h.
| 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 268 of file inspector.h.
| std::string unravel::meta_any_proxy::meta_any_proxy_impl::type_name |
Definition at line 231 of file inspector.h.