Proxy for mutable model slot access with clone-based assignment.
#include <simulation.hpp>
|
|
| ModelSlotProxy (Simulation &owner, size_t idx) |
| |
|
Model * | operator-> () |
| | Access the underlying model pointer for member access.
|
| |
|
Model & | operator* () |
| | Dereference to the underlying model.
|
| |
|
| operator Model & () |
| | Implicit conversion to underlying mutable model reference.
|
| |
|
ModelSlotProxy & | operator= (const ModelSlotProxy &other) |
| | Replace this slot by cloning from another proxy's model.
|
| |
|
ModelSlotProxy & | operator= (const Model &model) |
| | Replace this slot by cloning from a model reference.
|
| |
| ModelSlotProxy & | operator= (const std::unique_ptr< Model > &model) |
| | Replace this slot by cloning from a model unique_ptr.
|
| |
◆ operator=()
| ModelSlotProxy & respond::Simulation::ModelSlotProxy::operator= |
( |
const std::unique_ptr< Model > & |
model | ) |
|
|
inline |
- Exceptions
-
| std::invalid_argument | if model is nullptr. |
The documentation for this class was generated from the following file: