Optional non-throwing translation for an externally referenced identity. More...
#include <model.hpp>
Public Member Functions | |
| runtime::Result< ItemId, ModelError > | apply (ItemId id) const noexcept |
| Applies the callback or returns id unchanged when none is installed. | |
Public Attributes | |
| void * | context = nullptr |
| runtime::Result< ItemId, ModelError >(* | map )(void *, ItemId) noexcept = nullptr |
Optional non-throwing translation for an externally referenced identity.
A null callback preserves the identity. Callback failure makes the enclosing remap fail without advancing its allocator.
|
noexcept |
Applies the callback or returns id unchanged when none is installed.
| void* pulp::timeline::ExternalIdFixup::context = nullptr |
|
noexcept |