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

#include <generic_custom_operation_interpreter.hpp>

Inheritance diagram for golos::chain::generic_custom_operation_interpreter< CustomOperationType >:
golos::chain::custom_operation_interpreter golos::chain::evaluator_registry< CustomOperationType >

Public Member Functions

 generic_custom_operation_interpreter (database &db)
 
void apply_operations (const vector< CustomOperationType > &custom_operations, const operation &outer_o)
 
virtual void apply (const protocol::custom_json_operation &outer_o) override
 
virtual void apply (const protocol::custom_binary_operation &outer_o) override
 
virtual std::shared_ptr< graphene::schema::abstract_schema > get_operation_schema () override
 
- Public Member Functions inherited from golos::chain::evaluator_registry< CustomOperationType >
 evaluator_registry (database &d)
 
void register_evaluator (Args... args)
 
generic_evaluator< CustomOperationType > & get_evaluator (const CustomOperationType &op)
 

Additional Inherited Members

- Public Attributes inherited from golos::chain::evaluator_registry< CustomOperationType >
std::vector< std::unique_ptr< generic_evaluator< CustomOperationType > > > _op_evaluators
 
database_db
 

Detailed Description

template<typename CustomOperationType>
class golos::chain::generic_custom_operation_interpreter< CustomOperationType >

Definition at line 24 of file generic_custom_operation_interpreter.hpp.

Constructor & Destructor Documentation

◆ generic_custom_operation_interpreter()

template<typename CustomOperationType >
golos::chain::generic_custom_operation_interpreter< CustomOperationType >::generic_custom_operation_interpreter ( database db)
inline

Definition at line 28 of file generic_custom_operation_interpreter.hpp.

Member Function Documentation

◆ apply() [1/2]

template<typename CustomOperationType >
virtual void golos::chain::generic_custom_operation_interpreter< CustomOperationType >::apply ( const protocol::custom_json_operation &  outer_o)
inlineoverridevirtual

◆ apply() [2/2]

template<typename CustomOperationType >
virtual void golos::chain::generic_custom_operation_interpreter< CustomOperationType >::apply ( const protocol::custom_binary_operation &  outer_o)
inlineoverridevirtual

◆ apply_operations()

template<typename CustomOperationType >
void golos::chain::generic_custom_operation_interpreter< CustomOperationType >::apply_operations ( const vector< CustomOperationType > &  custom_operations,
const operation &  outer_o 
)
inline

Definition at line 32 of file generic_custom_operation_interpreter.hpp.

◆ get_operation_schema()

template<typename CustomOperationType >
virtual std::shared_ptr<graphene::schema::abstract_schema> golos::chain::generic_custom_operation_interpreter< CustomOperationType >::get_operation_schema ( )
inlineoverridevirtual

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