OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
Loading...
Searching...
No Matches
openpit::accountadjustment::OutcomeList Class Reference

#include <account_adjustment.hpp>

Public Member Functions

bool Empty () const noexcept
OpenPitAccountAdjustmentOutcomeList * Get () const noexcept
std::optional< OutcomeGet (std::size_t index) const
 operator bool () const noexcept
 OutcomeList () noexcept=default
 OutcomeList (OpenPitAccountAdjustmentOutcomeList *handle) noexcept
std::size_t Size () const noexcept
std::vector< OutcomeToVector () const

Constructor & Destructor Documentation

◆ OutcomeList() [1/2]

openpit::accountadjustment::OutcomeList::OutcomeList ( )
defaultnoexcept

◆ OutcomeList() [2/2]

openpit::accountadjustment::OutcomeList::OutcomeList ( OpenPitAccountAdjustmentOutcomeList * handle)
inlineexplicitnoexcept

Member Function Documentation

◆ Empty()

bool openpit::accountadjustment::OutcomeList::Empty ( ) const
inlinenodiscardnoexcept

◆ Get() [1/2]

OpenPitAccountAdjustmentOutcomeList * openpit::accountadjustment::OutcomeList::Get ( ) const
inlinenodiscardnoexcept

◆ Get() [2/2]

std::optional< Outcome > openpit::accountadjustment::OutcomeList::Get ( std::size_t index) const
inlinenodiscard

◆ operator bool()

openpit::accountadjustment::OutcomeList::operator bool ( ) const
inlineexplicitnodiscardnoexcept

◆ Size()

std::size_t openpit::accountadjustment::OutcomeList::Size ( ) const
inlinenodiscardnoexcept

◆ ToVector()

std::vector< Outcome > openpit::accountadjustment::OutcomeList::ToVector ( ) const
inlinenodiscard