|
OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
|
Tri-state runtime update for the singular SpotFunds global P&L barrier. More...
#include <policies.hpp>
Public Member Functions | |
| const std::optional< SpotFundsPnlBoundsBarrier > & | Barrier () const noexcept |
| bool | HasUpdate () const noexcept |
Static Public Member Functions | |
| static SpotFundsPnlBoundsGlobalBarrierUpdate | Clear () noexcept |
| Clears the current global barrier. | |
| static SpotFundsPnlBoundsGlobalBarrierUpdate | Set (SpotFundsPnlBoundsBarrier barrier) |
| Replaces the current global barrier. | |
| static SpotFundsPnlBoundsGlobalBarrierUpdate | Unchanged () noexcept |
| Leaves the current global barrier unchanged. | |
Tri-state runtime update for the singular SpotFunds global P&L barrier.
Use the explicitly named Unchanged, Clear, and Set factories. Direct construction is intentionally unavailable so legacy std::nullopt and barrier arguments fail to compile instead of silently changing meaning. A collection state is not representable because this axis is singular.
|
inlinenodiscardnoexcept |
|
inlinestaticnodiscardnoexcept |
Clears the current global barrier.
|
inlinenodiscardnoexcept |
|
inlinestaticnodiscard |
Replaces the current global barrier.
|
inlinestaticnodiscardnoexcept |
Leaves the current global barrier unchanged.