Gromacs
2025-dev-20241003-bd59e46
|
#include <gromacs/mdrun/simulationinputhandle.h>
Owning handle to a SimulationInput object.
internal
SimulationInput objects are logically immutable, so ownership may be shared by multiple SimulationInputHolders.
Acquire a SimulationInputHolder with makeSimulationInput() and pass to (e.g.) gmx::MdrunnerBuilder::addInput()
SimulationInput has no public API yet.
Public Member Functions | |
SimulationInputHandle (const SimulationInputHandle &source) | |
SimulationInputHandle (SimulationInputHandle &&) noexcept=default | |
SimulationInputHandle & | operator= (const SimulationInputHandle &rhs) |
SimulationInputHandle & | operator= (SimulationInputHandle &&) noexcept=default |
SimulationInputHandle (std::unique_ptr< detail::SimulationInputHandleImpl > impl) | |
Take ownership of private implementation object to produce a new public holder. | |
SimulationInput * | get () const noexcept |
Access opaque SimulationInput pointer. More... | |
operator bool () const | |
Boolean context returns true if an input is held, else false. | |
|
noexcept |
Access opaque SimulationInput pointer.