OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::param::detail::CashFlowTraits Struct Reference
Inheritance diagram for openpit::param::detail::CashFlowTraits:
Collaboration diagram for openpit::param::detail::CashFlowTraits:

Static Public Attributes

static constexpr auto CheckedNeg = ::openpit_param_cash_flow_checked_neg
 
static constexpr std::string_view Name = "cash flow"
 
- Static Public Attributes inherited from openpit::param::detail::ValueTraits< RawCashFlow, ::openpit_create_param_cash_flow, ::openpit_create_param_cash_flow_from_string, ::openpit_create_param_cash_flow_from_int64, ::openpit_create_param_cash_flow_from_uint64, ::openpit_create_param_cash_flow_from_f64, ::openpit_create_param_cash_flow_from_string_rounded, ::openpit_create_param_cash_flow_from_f64_rounded, ::openpit_create_param_cash_flow_from_decimal_rounded, ::openpit_param_cash_flow_to_f64, ::openpit_param_cash_flow_is_zero, ::openpit_param_cash_flow_compare, ::openpit_param_cash_flow_checked_add, ::openpit_param_cash_flow_checked_sub, ::openpit_param_cash_flow_to_string, ::openpit_param_cash_flow_get_decimal >
static constexpr auto CheckedAdd
 
static constexpr auto CheckedSubtract
 
static constexpr auto CompareValues
 
static constexpr auto Decimal
 
static constexpr auto FromDecimal
 
static constexpr auto FromDecimalRounded
 
static constexpr auto FromDouble
 
static constexpr auto FromDoubleRounded
 
static constexpr auto FromInt64
 
static constexpr auto FromString
 
static constexpr auto FromStringRounded
 
static constexpr auto FromUint64
 
static constexpr auto String
 
static constexpr auto ToDouble
 
static constexpr auto Zero
 
- Static Public Attributes inherited from openpit::param::detail::ArithmeticTraits<::openpit_param_cash_flow_checked_mul_i64, ::openpit_param_cash_flow_checked_mul_u64, ::openpit_param_cash_flow_checked_mul_f64, ::openpit_param_cash_flow_checked_div_i64, ::openpit_param_cash_flow_checked_div_u64, ::openpit_param_cash_flow_checked_div_f64, ::openpit_param_cash_flow_checked_rem_i64, ::openpit_param_cash_flow_checked_rem_u64, ::openpit_param_cash_flow_checked_rem_f64 >
static constexpr auto CheckedDivFloat
 
static constexpr auto CheckedDivInt
 
static constexpr auto CheckedDivUint
 
static constexpr auto CheckedMulFloat
 
static constexpr auto CheckedMulInt
 
static constexpr auto CheckedMulUint
 
static constexpr auto CheckedRemFloat
 
static constexpr auto CheckedRemInt
 
static constexpr auto CheckedRemUint
 

Additional Inherited Members

- Public Types inherited from openpit::param::detail::ValueTraits< RawCashFlow, ::openpit_create_param_cash_flow, ::openpit_create_param_cash_flow_from_string, ::openpit_create_param_cash_flow_from_int64, ::openpit_create_param_cash_flow_from_uint64, ::openpit_create_param_cash_flow_from_f64, ::openpit_create_param_cash_flow_from_string_rounded, ::openpit_create_param_cash_flow_from_f64_rounded, ::openpit_create_param_cash_flow_from_decimal_rounded, ::openpit_param_cash_flow_to_f64, ::openpit_param_cash_flow_is_zero, ::openpit_param_cash_flow_compare, ::openpit_param_cash_flow_checked_add, ::openpit_param_cash_flow_checked_sub, ::openpit_param_cash_flow_to_string, ::openpit_param_cash_flow_get_decimal >
using Native = RawCashFlow
 

Member Data Documentation

◆ CheckedNeg

constexpr auto openpit::param::detail::CashFlowTraits::CheckedNeg = ::openpit_param_cash_flow_checked_neg
staticconstexpr

◆ Name

constexpr std::string_view openpit::param::detail::CashFlowTraits::Name = "cash flow"
staticconstexpr