Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Types | Public Member Functions | Protected Attributes | List of all members
golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType > Class Template Reference

#include <evaluator.hpp>

Inheritance diagram for golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >:
golos::chain::generic_evaluator< OperationType >

Public Types

typedef OperationType operation_sv_type
 

Public Member Functions

 evaluator (database &d)
 
virtual void apply (const OperationType &o) final override
 
virtual int get_type () const override
 
databaseget_database ()
 

Protected Attributes

databasedb
 

Detailed Description

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
class golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >

Definition at line 21 of file evaluator.hpp.

Member Typedef Documentation

◆ operation_sv_type

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
typedef OperationType golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >::operation_sv_type

Definition at line 24 of file evaluator.hpp.

Constructor & Destructor Documentation

◆ evaluator()

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >::evaluator ( database d)
inline

Definition at line 27 of file evaluator.hpp.

Member Function Documentation

◆ apply()

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
virtual void golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >::apply ( const OperationType &  o)
inlinefinaloverridevirtual

Implements golos::chain::generic_evaluator< OperationType >.

Definition at line 30 of file evaluator.hpp.

◆ get_database()

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
database& golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >::get_database ( )
inline

Definition at line 40 of file evaluator.hpp.

◆ get_type()

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
virtual int golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >::get_type ( ) const
inlineoverridevirtual

Implements golos::chain::generic_evaluator< OperationType >.

Definition at line 36 of file evaluator.hpp.

Member Data Documentation

◆ db

template<typename EvaluatorType, uint8_t Major, uint8_t Hardfork, uint16_t Release, typename OperationType = golos::protocol::operation>
database& golos::chain::evaluator< EvaluatorType, Major, Hardfork, Release, OperationType >::db
protected

Definition at line 45 of file evaluator.hpp.


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