Scorum
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
scorum::protocol::over_under_market< kind, tag > Struct Template Reference

#include <market.hpp>

Public Types

template<bool site>
using wincase = over_under_wincase< site, kind, tag >
 
using over = wincase< true >
 
using under = wincase< false >
 

Public Member Functions

bool has_trd_state () const
 

Public Attributes

int16_t threshold
 

Static Public Attributes

static constexpr market_kind kind_v = kind
 

Detailed Description

template<market_kind kind, typename tag = void>
struct scorum::protocol::over_under_market< kind, tag >

Definition at line 12 of file market.hpp.

Member Typedef Documentation

◆ over

template<market_kind kind, typename tag = void>
using scorum::protocol::over_under_market< kind, tag >::over = wincase<true>

Definition at line 17 of file market.hpp.

◆ under

template<market_kind kind, typename tag = void>
using scorum::protocol::over_under_market< kind, tag >::under = wincase<false>

Definition at line 18 of file market.hpp.

◆ wincase

template<market_kind kind, typename tag = void>
template<bool site>
using scorum::protocol::over_under_market< kind, tag >::wincase = over_under_wincase<site, kind, tag>

Definition at line 16 of file market.hpp.

Member Function Documentation

◆ has_trd_state()

template<market_kind kind, typename tag = void>
bool scorum::protocol::over_under_market< kind, tag >::has_trd_state ( ) const
inline

Definition at line 21 of file market.hpp.

Member Data Documentation

◆ kind_v

template<market_kind kind, typename tag = void>
constexpr market_kind scorum::protocol::over_under_market< kind, tag >::kind_v = kind
staticconstexpr

Definition at line 19 of file market.hpp.

◆ threshold

template<market_kind kind, typename tag = void>
int16_t scorum::protocol::over_under_market< kind, tag >::threshold

Definition at line 14 of file market.hpp.


The documentation for this struct was generated from the following file: