Monero C++ Library
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
monero::monero_transfer_query Struct Reference

#include <monero_wallet_model.h>

Inheritance diagram for monero::monero_transfer_query:
monero::monero_transfer monero::serializable_struct

Public Member Functions

rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
std::shared_ptr< monero_transfer_querycopy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const
 
std::shared_ptr< monero_transfer_querycopy (const std::shared_ptr< monero_transfer_query > &src, const std::shared_ptr< monero_transfer_query > &tgt) const
 
boost::optional< bool > is_incoming () const
 
bool meets_criteria (monero_transfer *transfer, bool query_parent=true) const
 
- Public Member Functions inherited from monero::monero_transfer
std::shared_ptr< monero_transfercopy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const
 
boost::optional< bool > is_outgoing () const
 
void merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other)
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Static Public Member Functions

static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer_query > &transfer_query)
 
static std::shared_ptr< monero_transfer_querydeserialize_from_block (const std::string &transfer_query_json)
 
- Static Public Member Functions inherited from monero::monero_transfer
static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer > &transfer)
 

Public Attributes

boost::optional< bool > m_is_incoming
 
boost::optional< std::string > m_address
 
std::vector< std::string > m_addresses
 
boost::optional< uint32_t > m_subaddress_index
 
std::vector< uint32_t > m_subaddress_indices
 
std::vector< std::shared_ptr< monero_destination > > m_destinations
 
boost::optional< bool > m_has_destinations
 
boost::optional< std::shared_ptr< monero_tx_query > > m_tx_query
 
- Public Attributes inherited from monero::monero_transfer
std::shared_ptr< monero_tx_walletm_tx
 
boost::optional< uint64_t > m_amount
 
boost::optional< uint32_t > m_account_index
 

Detailed Description

Configures a query to retrieve transfers.

All transfers are returned except those that do not meet the criteria defined in this query.

Member Function Documentation

◆ is_incoming()

boost::optional< bool > monero::monero_transfer_query::is_incoming ( ) const
virtual

◆ to_rapidjson_val()

rapidjson::Value monero::monero_transfer_query::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
virtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Reimplemented from monero::monero_transfer.


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