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

#include <market.hpp>

Public Types

template<bool site>
using wincase = yes_no_wincase< site, kind, tag >
 
using yes = wincase< true >
 
using no = wincase< false >
 

Public Member Functions

bool has_trd_state () const
 

Static Public Attributes

static constexpr market_kind kind_v = kind
 

Detailed Description

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

Definition at line 43 of file market.hpp.

Member Typedef Documentation

◆ no

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

Definition at line 47 of file market.hpp.

◆ wincase

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

Definition at line 45 of file market.hpp.

◆ yes

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

Definition at line 46 of file market.hpp.

Member Function Documentation

◆ has_trd_state()

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

Definition at line 50 of file market.hpp.

Member Data Documentation

◆ kind_v

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

Definition at line 48 of file market.hpp.


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