BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Public Attributes | List of all members
graphene::protocol::calc_fee_visitor Struct Reference

Public Types

typedef uint64_t result_type
 

Public Member Functions

 calc_fee_visitor (const fee_schedule &p, const operation &op)
 
template<typename OpType >
result_type operator() (const OpType &op) const
 
template<>
uint64_t operator() (const htlc_create_operation &op) const
 
template<>
uint64_t operator() (const asset_create_operation &op) const
 

Public Attributes

const fee_scheduleparam
 
const int current_op
 

Detailed Description

Definition at line 34 of file fee_schedule_calc.cpp.

Member Typedef Documentation

Definition at line 36 of file fee_schedule_calc.cpp.

Constructor & Destructor Documentation

graphene::protocol::calc_fee_visitor::calc_fee_visitor ( const fee_schedule p,
const operation op 
)
inline

Definition at line 40 of file fee_schedule_calc.cpp.

Member Function Documentation

template<typename OpType >
result_type graphene::protocol::calc_fee_visitor::operator() ( const OpType &  op) const
inline

Definition at line 43 of file fee_schedule_calc.cpp.

template<>
uint64_t graphene::protocol::calc_fee_visitor::operator() ( const htlc_create_operation op) const

Definition at line 57 of file fee_schedule_calc.cpp.

template<>
uint64_t graphene::protocol::calc_fee_visitor::operator() ( const asset_create_operation op) const

Definition at line 67 of file fee_schedule_calc.cpp.

Member Data Documentation

const int graphene::protocol::calc_fee_visitor::current_op

Definition at line 39 of file fee_schedule_calc.cpp.

const fee_schedule& graphene::protocol::calc_fee_visitor::param

Definition at line 38 of file fee_schedule_calc.cpp.


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