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

#include <evaluator_registry.hpp>

Public Member Functions

 evaluator_registry (database &d)
 
template<typename EvaluatorType , typename... Args>
void register_evaluator (Args... args)
 
generic_evaluator< OperationType > & get_evaluator (const OperationType &op)
 

Public Attributes

std::vector< std::unique_ptr< generic_evaluator< OperationType > > > _op_evaluators
 
database_db
 

Detailed Description

template<typename OperationType>
class golos::chain::evaluator_registry< OperationType >

Definition at line 9 of file evaluator_registry.hpp.

Constructor & Destructor Documentation

◆ evaluator_registry()

template<typename OperationType>
golos::chain::evaluator_registry< OperationType >::evaluator_registry ( database d)
inline

Definition at line 11 of file evaluator_registry.hpp.

Member Function Documentation

◆ get_evaluator()

template<typename OperationType>
generic_evaluator<OperationType>& golos::chain::evaluator_registry< OperationType >::get_evaluator ( const OperationType &  op)
inline

Definition at line 23 of file evaluator_registry.hpp.

◆ register_evaluator()

template<typename OperationType>
template<typename EvaluatorType , typename... Args>
void golos::chain::evaluator_registry< OperationType >::register_evaluator ( Args...  args)
inline

Definition at line 19 of file evaluator_registry.hpp.

Member Data Documentation

◆ _db

template<typename OperationType>
database& golos::chain::evaluator_registry< OperationType >::_db

Definition at line 39 of file evaluator_registry.hpp.

◆ _op_evaluators

template<typename OperationType>
std::vector<std::unique_ptr<generic_evaluator<OperationType> > > golos::chain::evaluator_registry< OperationType >::_op_evaluators

Definition at line 38 of file evaluator_registry.hpp.


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