OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::param::AccountId Class Referencefinal

Stable account identifier created from a numeric or textual source. More...

Public Member Functions

constexpr AccountId () noexcept=default
 
constexpr bool operator!= (const AccountId &other) const noexcept
 
constexpr bool operator< (const AccountId &other) const noexcept
 
constexpr bool operator<= (const AccountId &other) const noexcept
 
constexpr bool operator== (const AccountId &other) const noexcept
 
constexpr bool operator> (const AccountId &other) const noexcept
 
constexpr bool operator>= (const AccountId &other) const noexcept
 
std::string ToString () const
 
constexpr std::uint64_t Value () const noexcept
 

Static Public Member Functions

static AccountId FromString (std::string_view value)
 
static constexpr AccountId FromUint64 (std::uint64_t value) noexcept
 

Detailed Description

Stable account identifier created from a numeric or textual source.

Constructor & Destructor Documentation

◆ AccountId()

constexpr openpit::param::AccountId::AccountId ( )
constexprdefaultnoexcept

Member Function Documentation

◆ FromString()

static AccountId openpit::param::AccountId::FromString ( std::string_view  value)
inlinestatic

◆ FromUint64()

static constexpr AccountId openpit::param::AccountId::FromUint64 ( std::uint64_t  value)
inlinestaticconstexprnoexcept

◆ operator!=()

constexpr bool openpit::param::AccountId::operator!= ( const AccountId other) const
inlineconstexprnoexcept

◆ operator<()

constexpr bool openpit::param::AccountId::operator< ( const AccountId other) const
inlineconstexprnoexcept

◆ operator<=()

constexpr bool openpit::param::AccountId::operator<= ( const AccountId other) const
inlineconstexprnoexcept

◆ operator==()

constexpr bool openpit::param::AccountId::operator== ( const AccountId other) const
inlineconstexprnoexcept

◆ operator>()

constexpr bool openpit::param::AccountId::operator> ( const AccountId other) const
inlineconstexprnoexcept

◆ operator>=()

constexpr bool openpit::param::AccountId::operator>= ( const AccountId other) const
inlineconstexprnoexcept

◆ ToString()

std::string openpit::param::AccountId::ToString ( ) const
inline

◆ Value()

constexpr std::uint64_t openpit::param::AccountId::Value ( ) const
inlineconstexprnoexcept