|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
UI-thread-affine typed field capability with exact-target retained inspection and discard. More...
#include <ui_model_edit.hpp>
Public Member Functions | |
| std::expected< EditFieldSnapshot< Value >, TreeError > | snapshot () const |
| std::expected< EditFieldSnapshot< Value >, TreeError > | snapshot (const EditTarget &target) const |
| std::expected< EditStatus, TreeError > | set (const Value &value) const |
| std::expected< std::optional< std::string >, TreeError > | draftText (const EditTarget &target) const |
| Copy retained editor bytes without parsing, refreshing or changing the displayed target. | |
| std::expected< void, TreeError > | discard (const EditTarget &target) const |
| EditField | validate (std::function< bool(const Value &)> rule) const |
Friends | |
| class | EditSession< Row > |
UI-thread-affine typed field capability with exact-target retained inspection and discard.
|
inline |
| target | Frozen destination, never resolved through nearest/current. |
|
inline |
Copy retained editor bytes without parsing, refreshing or changing the displayed target.
| target | Exact retained record/field destination, including an orphan after deletion or source closure. |
|
inline |
| value | Owning typed candidate. |
|
inline |
|
inline |
| target | Original exact destination. |
|
inline |
| rule | Owning typed validation rule; borrowed values expire on return. |