BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Protected Member Functions | List of all members
graphene::wallet::detail::operation_printer Struct Reference

#include <operation_printer.hpp>

Public Types

typedef std::string result_type
 

Public Member Functions

 operation_printer (std::ostream &out, const wallet_api_impl &wallet, const graphene::chain::operation_history_object &obj)
 
template<typename T >
std::string operator() (const T &op) const
 
std::string operator() (const graphene::protocol::transfer_operation &op) const
 
std::string operator() (const graphene::protocol::transfer_from_blind_operation &op) const
 
std::string operator() (const graphene::protocol::transfer_to_blind_operation &op) const
 
std::string operator() (const graphene::protocol::account_create_operation &op) const
 
std::string operator() (const graphene::protocol::account_update_operation &op) const
 
std::string operator() (const graphene::protocol::asset_create_operation &op) const
 
std::string operator() (const graphene::protocol::htlc_create_operation &op) const
 
std::string operator() (const graphene::protocol::htlc_redeem_operation &op) const
 
std::string operator() (const graphene::protocol::htlc_redeemed_operation &op) const
 

Protected Member Functions

std::string print_memo (const fc::optional< graphene::protocol::memo_data > &memo) const
 
void print_preimage (const std::vector< char > &preimage) const
 
std::string print_redeem (const graphene::protocol::htlc_id_type &id, const std::string &redeemer, const std::vector< char > &preimage, const graphene::protocol::asset &op_fee) const
 

Detailed Description

Definition at line 55 of file operation_printer.hpp.

Member Typedef Documentation

Definition at line 73 of file operation_printer.hpp.

Constructor & Destructor Documentation

graphene::wallet::detail::operation_printer::operation_printer ( std::ostream &  out,
const wallet_api_impl wallet,
const graphene::chain::operation_history_object obj 
)
inline

Definition at line 66 of file operation_printer.hpp.

Member Function Documentation

template<typename T >
std::string graphene::wallet::detail::operation_printer::operator() ( const T &  op) const
inline

Definition at line 76 of file operation_printer.hpp.

string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::transfer_operation op) const

Definition at line 141 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::transfer_from_blind_operation op) const

Definition at line 119 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::transfer_to_blind_operation op) const

Definition at line 128 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::account_create_operation op) const

Definition at line 150 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::account_update_operation op) const

Definition at line 156 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::asset_create_operation op) const

Definition at line 162 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::htlc_create_operation op) const

Definition at line 183 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::htlc_redeem_operation op) const

Definition at line 173 of file operation_printer.cpp.

std::string graphene::wallet::detail::operation_printer::operator() ( const graphene::protocol::htlc_redeemed_operation op) const

Definition at line 178 of file operation_printer.cpp.

string graphene::wallet::detail::operation_printer::print_memo ( const fc::optional< graphene::protocol::memo_data > &  memo) const
protected

Definition at line 61 of file operation_printer.cpp.

void graphene::wallet::detail::operation_printer::print_preimage ( const std::vector< char > &  preimage) const
protected

Definition at line 93 of file operation_printer.cpp.

string graphene::wallet::detail::operation_printer::print_redeem ( const graphene::protocol::htlc_id_type &  id,
const std::string &  redeemer,
const std::vector< char > &  preimage,
const graphene::protocol::asset op_fee 
) const
protected

Definition at line 109 of file operation_printer.cpp.


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