Monero C++ Library
|
#include <monero_wallet_model.h>
Public Member Functions | |
rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
virtual boost::optional< bool > | is_incoming () const =0 |
std::shared_ptr< monero_transfer > | copy (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 > &transfer) |
Public Attributes | |
std::shared_ptr< monero_tx_wallet > | m_tx |
boost::optional< uint64_t > | m_amount |
boost::optional< uint32_t > | m_account_index |
Models a base transfer of funds to or from the wallet.
TODO: m_is_incoming for api consistency
|
virtual |
Converts the struct to a rapidjson Value.
allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.
Reimplemented in monero::monero_transfer_query.