hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus::yac::OutcomeMessage< typename > Struct Template Referenceabstract

#include "outcome_messages.hpp"

Collaboration diagram for iroha::consensus::yac::OutcomeMessage< typename >:
Collaboration graph

Public Member Functions

 OutcomeMessage (std::vector< VoteMessage > votes)
 
 OutcomeMessage (std::initializer_list< VoteMessage > votes)
 
bool operator== (const OutcomeMessage &rhs) const
 
std::string toString () const
 
virtual const std::string & typeName () const =0
 

Public Attributes

std::vector< VoteMessagevotes
 

Protected Member Functions

 ~OutcomeMessage ()=default
 

Constructor & Destructor Documentation

◆ OutcomeMessage() [1/2]

template<typename >
iroha::consensus::yac::OutcomeMessage< typename >::OutcomeMessage ( std::vector< VoteMessage votes)
inlineexplicit

◆ OutcomeMessage() [2/2]

template<typename >
iroha::consensus::yac::OutcomeMessage< typename >::OutcomeMessage ( std::initializer_list< VoteMessage votes)
inline

◆ ~OutcomeMessage()

template<typename >
iroha::consensus::yac::OutcomeMessage< typename >::~OutcomeMessage ( )
protecteddefault
Here is the caller graph for this function:

Member Function Documentation

◆ operator==()

template<typename >
bool iroha::consensus::yac::OutcomeMessage< typename >::operator== ( const OutcomeMessage< typename > &  rhs) const
inline

◆ toString()

template<typename >
std::string iroha::consensus::yac::OutcomeMessage< typename >::toString ( ) const
inline

◆ typeName()

template<typename >
virtual const std::string& iroha::consensus::yac::OutcomeMessage< typename >::typeName ( ) const
pure virtual

Member Data Documentation

◆ votes

template<typename >
std::vector<VoteMessage> iroha::consensus::yac::OutcomeMessage< typename >::votes

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