![]() |
RESPOND 2.5.1
Researching Effective Strategies to Prevent Opioid Death
|
Proxy for mutable model slot access with clone-based assignment.
#include <timestep.hpp>
Public Member Functions | |
| TransitionSlotProxy (Timestep &owner, size_t idx) | |
| Transition * | operator-> () |
| Access the underlying model pointer for member access. | |
| Transition & | operator* () |
| Dereference to the underlying model. | |
| operator Transition & () | |
| Implicit conversion to underlying mutable model reference. | |
| TransitionSlotProxy & | operator= (const TransitionSlotProxy &other) |
| Replace this slot by cloning from another proxy's model. | |
| TransitionSlotProxy & | operator= (const Transition &transition) |
| Replace this slot by cloning from a model reference. | |
| TransitionSlotProxy & | operator= (const std::unique_ptr< Transition > &transition) |
| Replace this slot by cloning from a model unique_ptr. | |
|
inline |
| std::invalid_argument | if model is nullptr. |