- | virtual int monero::monero_wallet::import_outputs_hex |
+ virtual int monero::monero_wallet::import_outputs |
( |
const std::string & |
outputs_hex | ) |
@@ -3087,7 +3137,7 @@ Public Member Functions
- Returns
- the number of outputs imported
-Reimplemented in monero::monero_wallet_full.
+Reimplemented in monero::monero_wallet_full.
@@ -3425,42 +3475,6 @@ Public Member Functions
Reimplemented in monero::monero_wallet_full.
-
-
-
-◆ parse_tx_set()
-
-
-
-
-
- |
-
- |
-
-inlinevirtual |
-
-
-
-
Parses a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
-
- Parameters
-
-
- | tx_set | is a tx set containing unsigned or multisig tx hex |
-
-
-
-
- Returns
- the parsed tx set containing structured transactions
-
-
Reimplemented in monero::monero_wallet_full.
-
diff --git a/docs/classmonero_1_1monero__wallet__full-members.html b/docs/classmonero_1_1monero__wallet__full-members.html
index e8ab704..524b043 100644
--- a/docs/classmonero_1_1monero__wallet__full-members.html
+++ b/docs/classmonero_1_1monero__wallet__full-members.html
@@ -89,29 +89,31 @@ $(function() {
| create_wallet_random(const std::string &path, const std::string &password, const monero_network_type network_type, const monero_rpc_connection &daemon_connection=monero_rpc_connection(), const std::string &language="English", std::unique_ptr< epee::net_utils::http::http_client_factory > http_client_factory=nullptr) | monero::monero_wallet_full | static |
| decode_integrated_address(const std::string &integrated_address) const override | monero::monero_wallet_full | virtual |
| delete_address_book_entry(uint64_t index) override | monero::monero_wallet_full | virtual |
- | edit_address_book_entry(uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) override | monero::monero_wallet_full | virtual |
- | exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password) override | monero::monero_wallet_full | virtual |
- | get_account(const uint32_t account_idx, bool include_subaddresses) const override | monero::monero_wallet_full | virtual |
- | monero::monero_wallet::get_account(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
- | get_accounts(bool include_subaddresses, const std::string &tag) const override | monero::monero_wallet_full | virtual |
- | monero::monero_wallet::get_accounts() const | monero::monero_wallet | inlinevirtual |
- | monero::monero_wallet::get_accounts(bool include_subaddresses) const | monero::monero_wallet | inlinevirtual |
- | monero::monero_wallet::get_accounts(const std::string &tag) const | monero::monero_wallet | inlinevirtual |
- | get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override | monero::monero_wallet_full | virtual |
- | get_address_book_entries(const std::vector< uint64_t > &indices) const override | monero::monero_wallet_full | virtual |
- | get_address_index(const std::string &address) const override | monero::monero_wallet_full | virtual |
- | get_attribute(const std::string &key, std::string &value) const override | monero::monero_wallet_full | virtual |
- | get_balance() const override | monero::monero_wallet_full | virtual |
- | get_balance(uint32_t account_idx) const override | monero::monero_wallet_full | virtual |
- | get_balance(uint32_t account_idx, uint32_t subaddress_idx) const override | monero::monero_wallet_full | virtual |
- | get_cache_file_buffer(const epee::wipeable_string &password) const (defined in monero::monero_wallet_full) | monero::monero_wallet_full | |
- | get_daemon_connection() const override | monero::monero_wallet_full | virtual |
- | get_daemon_height() const override | monero::monero_wallet_full | virtual |
- | get_daemon_max_peer_height() const override | monero::monero_wallet_full | virtual |
- | get_height() const override | monero::monero_wallet_full | virtual |
- | get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const override | monero::monero_wallet_full | virtual |
- | get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override | monero::monero_wallet_full | virtual |
- | get_key_images() const override | monero::monero_wallet_full | virtual |
+ | describe_tx_set(const monero_tx_set &tx_set) override | monero::monero_wallet_full | virtual |
+ | edit_address_book_entry(uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) override | monero::monero_wallet_full | virtual |
+ | exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password) override | monero::monero_wallet_full | virtual |
+ | export_key_images(bool all=false) const override | monero::monero_wallet_full | virtual |
+ | export_outputs(bool all=false) const override | monero::monero_wallet_full | virtual |
+ | get_account(const uint32_t account_idx, bool include_subaddresses) const override | monero::monero_wallet_full | virtual |
+ | monero::monero_wallet::get_account(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_accounts(bool include_subaddresses, const std::string &tag) const override | monero::monero_wallet_full | virtual |
+ | monero::monero_wallet::get_accounts() const | monero::monero_wallet | inlinevirtual |
+ | monero::monero_wallet::get_accounts(bool include_subaddresses) const | monero::monero_wallet | inlinevirtual |
+ | monero::monero_wallet::get_accounts(const std::string &tag) const | monero::monero_wallet | inlinevirtual |
+ | get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override | monero::monero_wallet_full | virtual |
+ | get_address_book_entries(const std::vector< uint64_t > &indices) const override | monero::monero_wallet_full | virtual |
+ | get_address_index(const std::string &address) const override | monero::monero_wallet_full | virtual |
+ | get_attribute(const std::string &key, std::string &value) const override | monero::monero_wallet_full | virtual |
+ | get_balance() const override | monero::monero_wallet_full | virtual |
+ | get_balance(uint32_t account_idx) const override | monero::monero_wallet_full | virtual |
+ | get_balance(uint32_t account_idx, uint32_t subaddress_idx) const override | monero::monero_wallet_full | virtual |
+ | get_cache_file_buffer(const epee::wipeable_string &password) const (defined in monero::monero_wallet_full) | monero::monero_wallet_full | |
+ | get_daemon_connection() const override | monero::monero_wallet_full | virtual |
+ | get_daemon_height() const override | monero::monero_wallet_full | virtual |
+ | get_daemon_max_peer_height() const override | monero::monero_wallet_full | virtual |
+ | get_height() const override | monero::monero_wallet_full | virtual |
+ | get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const override | monero::monero_wallet_full | virtual |
+ | get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override | monero::monero_wallet_full | virtual |
| get_keys_file_buffer(const epee::wipeable_string &password, bool view_only) const | monero::monero_wallet_full | |
| get_listeners() override | monero::monero_wallet_full | virtual |
| get_mnemonic() const override | monero::monero_wallet_full | virtual |
@@ -121,48 +123,46 @@ $(function() {
| get_multisig_info() const override | monero::monero_wallet_full | virtual |
| get_network_type() const override | monero::monero_wallet_full | virtual |
| get_outputs(const monero_output_query &query) const override | monero::monero_wallet_full | virtual |
- | get_outputs_hex() const override | monero::monero_wallet_full | virtual |
- | get_path() const override | monero::monero_wallet_full | virtual |
- | get_primary_address() const | monero::monero_wallet | inlinevirtual |
- | get_private_spend_key() const override | monero::monero_wallet_full | virtual |
- | get_private_view_key() const override | monero::monero_wallet_full | virtual |
- | get_public_spend_key() const override | monero::monero_wallet_full | virtual |
- | get_public_view_key() const override | monero::monero_wallet_full | virtual |
- | get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const override | monero::monero_wallet_full | virtual |
- | get_reserve_proof_wallet(const std::string &message) const override | monero::monero_wallet_full | virtual |
- | get_spend_proof(const std::string &tx_hash, const std::string &message) const override | monero::monero_wallet_full | virtual |
- | get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
- | get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override | monero::monero_wallet_full | virtual |
- | monero::monero_wallet::get_subaddresses(const uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
- | get_sync_height() const override | monero::monero_wallet_full | virtual |
- | get_transfers(const monero_transfer_query &query) const override | monero::monero_wallet_full | virtual |
- | get_tx_key(const std::string &tx_hash) const override | monero::monero_wallet_full | virtual |
- | get_tx_note(const std::string &tx_hash) const override | monero::monero_wallet_full | virtual |
- | get_tx_notes(const std::vector< std::string > &tx_hashes) const override | monero::monero_wallet_full | virtual |
- | get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const override | monero::monero_wallet_full | virtual |
- | get_txs() const override | monero::monero_wallet_full | virtual |
- | get_txs(const monero_tx_query &query) const override | monero::monero_wallet_full | virtual |
- | get_txs(const monero_tx_query &query, std::vector< std::string > &missing_tx_hashes) const override | monero::monero_wallet_full | virtual |
- | get_unlocked_balance() const override | monero::monero_wallet_full | virtual |
- | get_unlocked_balance(uint32_t account_idx) const override | monero::monero_wallet_full | virtual |
- | get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const override | monero::monero_wallet_full | virtual |
- | get_version() const override | monero::monero_wallet_full | virtual |
- | import_key_images(const std::vector< std::shared_ptr< monero_key_image >> &key_images) override | monero::monero_wallet_full | virtual |
- | import_multisig_hex(const std::vector< std::string > &multisig_hexes) override | monero::monero_wallet_full | virtual |
- | import_outputs_hex(const std::string &outputs_hex) override | monero::monero_wallet_full | virtual |
- | is_connected() const override | monero::monero_wallet_full | virtual |
- | is_daemon_synced() const override | monero::monero_wallet_full | virtual |
- | is_daemon_trusted() const override | monero::monero_wallet_full | virtual |
- | is_multisig() const | monero::monero_wallet | inlinevirtual |
- | is_multisig_import_needed() const override | monero::monero_wallet_full | virtual |
- | is_synced() const override | monero::monero_wallet_full | virtual |
- | is_view_only() const override | monero::monero_wallet_full | inlinevirtual |
- | make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override | monero::monero_wallet_full | virtual |
- | move_to(std::string path, std::string password) override | monero::monero_wallet_full | virtual |
- | open_wallet(const std::string &path, const std::string &password, const monero_network_type network_type) | monero::monero_wallet_full | static |
- | open_wallet_data(const std::string &password, const monero_network_type, const std::string &keys_data, const std::string &cache_data, const monero_rpc_connection &daemon_connection=monero_rpc_connection(), std::unique_ptr< epee::net_utils::http::http_client_factory > http_client_factory=nullptr) | monero::monero_wallet_full | static |
- | parse_payment_uri(const std::string &uri) const override | monero::monero_wallet_full | virtual |
- | parse_tx_set(const monero_tx_set &tx_set) override | monero::monero_wallet_full | virtual |
+ | get_path() const override | monero::monero_wallet_full | virtual |
+ | get_primary_address() const | monero::monero_wallet | inlinevirtual |
+ | get_private_spend_key() const override | monero::monero_wallet_full | virtual |
+ | get_private_view_key() const override | monero::monero_wallet_full | virtual |
+ | get_public_spend_key() const override | monero::monero_wallet_full | virtual |
+ | get_public_view_key() const override | monero::monero_wallet_full | virtual |
+ | get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const override | monero::monero_wallet_full | virtual |
+ | get_reserve_proof_wallet(const std::string &message) const override | monero::monero_wallet_full | virtual |
+ | get_spend_proof(const std::string &tx_hash, const std::string &message) const override | monero::monero_wallet_full | virtual |
+ | get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override | monero::monero_wallet_full | virtual |
+ | monero::monero_wallet::get_subaddresses(const uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_sync_height() const override | monero::monero_wallet_full | virtual |
+ | get_transfers(const monero_transfer_query &query) const override | monero::monero_wallet_full | virtual |
+ | get_tx_key(const std::string &tx_hash) const override | monero::monero_wallet_full | virtual |
+ | get_tx_note(const std::string &tx_hash) const override | monero::monero_wallet_full | virtual |
+ | get_tx_notes(const std::vector< std::string > &tx_hashes) const override | monero::monero_wallet_full | virtual |
+ | get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const override | monero::monero_wallet_full | virtual |
+ | get_txs() const override | monero::monero_wallet_full | virtual |
+ | get_txs(const monero_tx_query &query) const override | monero::monero_wallet_full | virtual |
+ | get_txs(const monero_tx_query &query, std::vector< std::string > &missing_tx_hashes) const override | monero::monero_wallet_full | virtual |
+ | get_unlocked_balance() const override | monero::monero_wallet_full | virtual |
+ | get_unlocked_balance(uint32_t account_idx) const override | monero::monero_wallet_full | virtual |
+ | get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const override | monero::monero_wallet_full | virtual |
+ | get_version() const override | monero::monero_wallet_full | virtual |
+ | import_key_images(const std::vector< std::shared_ptr< monero_key_image >> &key_images) override | monero::monero_wallet_full | virtual |
+ | import_multisig_hex(const std::vector< std::string > &multisig_hexes) override | monero::monero_wallet_full | virtual |
+ | import_outputs(const std::string &outputs_hex) override | monero::monero_wallet_full | virtual |
+ | is_connected() const override | monero::monero_wallet_full | virtual |
+ | is_daemon_synced() const override | monero::monero_wallet_full | virtual |
+ | is_daemon_trusted() const override | monero::monero_wallet_full | virtual |
+ | is_multisig() const | monero::monero_wallet | inlinevirtual |
+ | is_multisig_import_needed() const override | monero::monero_wallet_full | virtual |
+ | is_synced() const override | monero::monero_wallet_full | virtual |
+ | is_view_only() const override | monero::monero_wallet_full | inlinevirtual |
+ | make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override | monero::monero_wallet_full | virtual |
+ | move_to(std::string path, std::string password) override | monero::monero_wallet_full | virtual |
+ | open_wallet(const std::string &path, const std::string &password, const monero_network_type network_type) | monero::monero_wallet_full | static |
+ | open_wallet_data(const std::string &password, const monero_network_type, const std::string &keys_data, const std::string &cache_data, const monero_rpc_connection &daemon_connection=monero_rpc_connection(), std::unique_ptr< epee::net_utils::http::http_client_factory > http_client_factory=nullptr) | monero::monero_wallet_full | static |
+ | parse_payment_uri(const std::string &uri) const override | monero::monero_wallet_full | virtual |
| prepare_multisig() override | monero::monero_wallet_full | virtual |
| relay_tx(const std::string &tx_metadata) | monero::monero_wallet | inlinevirtual |
| relay_tx(const monero_tx_wallet &tx) | monero::monero_wallet | inlinevirtual |
diff --git a/docs/classmonero_1_1monero__wallet__full.html b/docs/classmonero_1_1monero__wallet__full.html
index 93f5c73..d7b999c 100644
--- a/docs/classmonero_1_1monero__wallet__full.html
+++ b/docs/classmonero_1_1monero__wallet__full.html
@@ -198,12 +198,12 @@ Public Member Functions
| |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const override |
| |
-| std::string | get_outputs_hex () const override |
-| |
-| int | import_outputs_hex (const std::string &outputs_hex) override |
-| |
-| std::vector< std::shared_ptr< monero_key_image > > | get_key_images () const override |
-| |
+| std::string | export_outputs (bool all=false) const override |
+| |
+| int | import_outputs (const std::string &outputs_hex) override |
+| |
+| std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const override |
+| |
| std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image >> &key_images) override |
| |
| std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) override |
@@ -216,8 +216,8 @@ Public Member Functions
| |
| std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) override |
| |
-| monero_tx_set | parse_tx_set (const monero_tx_set &tx_set) override |
-| |
+| monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) override |
+| |
| std::string | sign_txs (const std::string &unsigned_tx_hex) override |
| |
| std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) override |
@@ -1201,6 +1201,42 @@ struct wallet2_listenerReimplemented from monero::monero_wallet.
+
+
+
+◆ describe_tx_set()
+
+
+
+
+
+ |
+
+ |
+
+overridevirtual |
+
+
+
+ Describes a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
+ - Parameters
-
+
+ | tx_set | is a tx set containing unsigned or multisig tx hex |
+
+
+
+ - Returns
- the tx set containing structured transactions
+
+ Reimplemented from monero::monero_wallet.
+
@@ -1316,6 +1352,78 @@ struct | wallet2_listenerReimplemented from monero::monero_wallet.
+
+
+
+◆ export_key_images()
+
+
+
+
+
+
+
+
+ | std::vector< std::shared_ptr< monero_key_image > > monero::monero_wallet_full::export_key_images |
+ ( |
+ bool |
+ all = false | ) |
+ const |
+
+
+ |
+
+overridevirtual |
+
+
+
+ Export signed key images.
+ - Parameters
-
+
+ | all | - export all key images if true, else export key images since the last export |
+
+
+
+ - Returns
- the wallet's signed key images
+
+ Reimplemented from monero::monero_wallet.
+
+
+
+
+◆ export_outputs()
+
+
+
+
+
+
+
+
+ | std::string monero::monero_wallet_full::export_outputs |
+ ( |
+ bool |
+ all = false | ) |
+ const |
+
+
+ |
+
+overridevirtual |
+
+
+
+ Export outputs in hex format.
+ - Parameters
-
+
+ | all | - export all outputs if true, else export outputs since the last export |
+
+
+
+ - Returns
- outputs in hex format, empty std::string if no outputs
+
+ Reimplemented from monero::monero_wallet.
+
@@ -1911,35 +2019,6 @@ struct | wallet2_listenerReimplemented from monero::monero_wallet.
-
-
-
-◆ get_key_images()
-
-
-
-
-
-
-
-
- | std::vector< std::shared_ptr< monero_key_image > > monero::monero_wallet_full::get_key_images |
- ( |
- | ) |
- const |
-
-
- |
-
-overridevirtual |
-
-
-
- Get all signed key images.
- - Returns
- the wallet's signed key images
-
- Reimplemented from monero::monero_wallet.
-
@@ -2211,35 +2290,6 @@ struct | wallet2_listenerReimplemented from monero::monero_wallet.
-
-
-
-◆ get_outputs_hex()
-
-
-
-
-
-
-
-
- | std::string monero::monero_wallet_full::get_outputs_hex |
- ( |
- | ) |
- const |
-
-
- |
-
-overridevirtual |
-
-
-
- Export all outputs in hex format.
- - Returns
- all outputs in hex format, empty std::string if no outputs
-
- Reimplemented from monero::monero_wallet.
-
@@ -3125,8 +3175,8 @@ struct | wallet2_listener
-
-◆ import_outputs_hex()
+
+◆ import_outputs()
@@ -3135,7 +3185,7 @@ struct | wallet2_listener
- | int monero::monero_wallet_full::import_outputs_hex |
+ int monero::monero_wallet_full::import_outputs |
( |
const std::string & |
outputs_hex | ) |
@@ -3157,7 +3207,7 @@ struct wallet2_listener
- Returns
- the number of outputs imported
-Reimplemented from monero::monero_wallet.
+Reimplemented from monero::monero_wallet.
@@ -3592,42 +3642,6 @@ struct | wallet2_listenerReimplemented from monero::monero_wallet.
-
-
-
-◆ parse_tx_set()
-
-
-
-
-
- |
-
- |
-
-overridevirtual |
-
-
-
- Parses a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
- - Parameters
-
-
- | tx_set | is a tx set containing unsigned or multisig tx hex |
-
-
-
- - Returns
- the parsed tx set containing structured transactions
-
- Reimplemented from monero::monero_wallet.
-
diff --git a/docs/classmonero_1_1monero__wallet__keys-members.html b/docs/classmonero_1_1monero__wallet__keys-members.html
index 6b605d5..ad9a10b 100644
--- a/docs/classmonero_1_1monero__wallet__keys-members.html
+++ b/docs/classmonero_1_1monero__wallet__keys-members.html
@@ -89,28 +89,30 @@ $(function() {
| | create_wallet_random(const monero_network_type network_type, const std::string &language="English") | monero::monero_wallet_keys | static |
| decode_integrated_address(const std::string &integrated_address) const override | monero::monero_wallet_keys | virtual |
| delete_address_book_entry(uint64_t index) | monero::monero_wallet | inlinevirtual |
- | edit_address_book_entry(uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) | monero::monero_wallet | inlinevirtual |
- | exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password) | monero::monero_wallet | inlinevirtual |
- | get_account(const uint32_t account_idx, bool include_subaddresses) const override | monero::monero_wallet_keys | virtual |
- | monero::monero_wallet::get_account(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
- | get_accounts() const | monero::monero_wallet | inlinevirtual |
- | get_accounts(bool include_subaddresses) const | monero::monero_wallet | inlinevirtual |
- | get_accounts(const std::string &tag) const | monero::monero_wallet | inlinevirtual |
- | get_accounts(bool include_subaddresses, const std::string &tag) const | monero::monero_wallet | inlinevirtual |
- | get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override | monero::monero_wallet_keys | virtual |
- | get_address_book_entries(const std::vector< uint64_t > &indices) const | monero::monero_wallet | inlinevirtual |
- | get_address_index(const std::string &address) const | monero::monero_wallet | inlinevirtual |
- | get_attribute(const std::string &key, std::string &value) const | monero::monero_wallet | inlinevirtual |
- | get_balance() const | monero::monero_wallet | inlinevirtual |
- | get_balance(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
- | get_balance(uint32_t account_idx, uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
- | get_daemon_connection() const | monero::monero_wallet | inlinevirtual |
- | get_daemon_height() const | monero::monero_wallet | inlinevirtual |
- | get_daemon_max_peer_height() const | monero::monero_wallet | inlinevirtual |
- | get_height() const | monero::monero_wallet | inlinevirtual |
- | get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const | monero::monero_wallet | inlinevirtual |
- | get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override | monero::monero_wallet_keys | virtual |
- | get_key_images() const | monero::monero_wallet | inlinevirtual |
+ | describe_tx_set(const monero_tx_set &tx_set) | monero::monero_wallet | inlinevirtual |
+ | edit_address_book_entry(uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) | monero::monero_wallet | inlinevirtual |
+ | exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password) | monero::monero_wallet | inlinevirtual |
+ | export_key_images(bool all=false) const | monero::monero_wallet | inlinevirtual |
+ | export_outputs(bool all=false) const | monero::monero_wallet | inlinevirtual |
+ | get_account(const uint32_t account_idx, bool include_subaddresses) const override | monero::monero_wallet_keys | virtual |
+ | monero::monero_wallet::get_account(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_accounts() const | monero::monero_wallet | inlinevirtual |
+ | get_accounts(bool include_subaddresses) const | monero::monero_wallet | inlinevirtual |
+ | get_accounts(const std::string &tag) const | monero::monero_wallet | inlinevirtual |
+ | get_accounts(bool include_subaddresses, const std::string &tag) const | monero::monero_wallet | inlinevirtual |
+ | get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override | monero::monero_wallet_keys | virtual |
+ | get_address_book_entries(const std::vector< uint64_t > &indices) const | monero::monero_wallet | inlinevirtual |
+ | get_address_index(const std::string &address) const | monero::monero_wallet | inlinevirtual |
+ | get_attribute(const std::string &key, std::string &value) const | monero::monero_wallet | inlinevirtual |
+ | get_balance() const | monero::monero_wallet | inlinevirtual |
+ | get_balance(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_balance(uint32_t account_idx, uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_daemon_connection() const | monero::monero_wallet | inlinevirtual |
+ | get_daemon_height() const | monero::monero_wallet | inlinevirtual |
+ | get_daemon_max_peer_height() const | monero::monero_wallet | inlinevirtual |
+ | get_height() const | monero::monero_wallet | inlinevirtual |
+ | get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const | monero::monero_wallet | inlinevirtual |
+ | get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override | monero::monero_wallet_keys | virtual |
| get_listeners() | monero::monero_wallet | inlinevirtual |
| get_mnemonic() const override | monero::monero_wallet_keys | inlinevirtual |
| get_mnemonic_language() const override | monero::monero_wallet_keys | inlinevirtual |
@@ -119,46 +121,44 @@ $(function() {
| get_multisig_info() const | monero::monero_wallet | inlinevirtual |
| get_network_type() const override | monero::monero_wallet_keys | inlinevirtual |
| get_outputs(const monero_output_query &query) const | monero::monero_wallet | inlinevirtual |
- | get_outputs_hex() const | monero::monero_wallet | inlinevirtual |
- | get_path() const | monero::monero_wallet | inlinevirtual |
- | get_primary_address() const override | monero::monero_wallet_keys | inlinevirtual |
- | get_private_spend_key() const override | monero::monero_wallet_keys | inlinevirtual |
- | get_private_view_key() const override | monero::monero_wallet_keys | inlinevirtual |
- | get_public_spend_key() const override | monero::monero_wallet_keys | inlinevirtual |
- | get_public_view_key() const override | monero::monero_wallet_keys | inlinevirtual |
- | get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const | monero::monero_wallet | inlinevirtual |
- | get_reserve_proof_wallet(const std::string &message) const | monero::monero_wallet | inlinevirtual |
- | get_spend_proof(const std::string &tx_hash, const std::string &message) const | monero::monero_wallet | inlinevirtual |
- | get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
- | get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override | monero::monero_wallet_keys | virtual |
- | monero::monero_wallet::get_subaddresses(const uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
- | get_sync_height() const | monero::monero_wallet | inlinevirtual |
- | get_transfers(const monero_transfer_query &query) const | monero::monero_wallet | inlinevirtual |
- | get_tx_key(const std::string &tx_hash) const | monero::monero_wallet | inlinevirtual |
- | get_tx_note(const std::string &tx_hash) const | monero::monero_wallet | inlinevirtual |
- | get_tx_notes(const std::vector< std::string > &tx_hashes) const | monero::monero_wallet | inlinevirtual |
- | get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const | monero::monero_wallet | inlinevirtual |
- | get_txs() const | monero::monero_wallet | inlinevirtual |
- | get_txs(const monero_tx_query &query) const | monero::monero_wallet | inlinevirtual |
- | get_txs(const monero_tx_query &query, std::vector< std::string > &missing_tx_hashes) const | monero::monero_wallet | inlinevirtual |
- | get_unlocked_balance() const | monero::monero_wallet | inlinevirtual |
- | get_unlocked_balance(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
- | get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
- | get_version() const override | monero::monero_wallet_keys | virtual |
- | import_key_images(const std::vector< std::shared_ptr< monero_key_image >> &key_images) | monero::monero_wallet | inlinevirtual |
- | import_multisig_hex(const std::vector< std::string > &multisig_hexes) | monero::monero_wallet | inlinevirtual |
- | import_outputs_hex(const std::string &outputs_hex) | monero::monero_wallet | inlinevirtual |
- | is_connected() const | monero::monero_wallet | inlinevirtual |
- | is_daemon_synced() const | monero::monero_wallet | inlinevirtual |
- | is_daemon_trusted() const | monero::monero_wallet | inlinevirtual |
- | is_multisig() const | monero::monero_wallet | inlinevirtual |
- | is_multisig_import_needed() const | monero::monero_wallet | inlinevirtual |
- | is_synced() const | monero::monero_wallet | inlinevirtual |
- | is_view_only() const override | monero::monero_wallet_keys | inlinevirtual |
- | make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) | monero::monero_wallet | inlinevirtual |
- | move_to(std::string path, std::string password) | monero::monero_wallet | inlinevirtual |
- | parse_payment_uri(const std::string &uri) const | monero::monero_wallet | inlinevirtual |
- | parse_tx_set(const monero_tx_set &tx_set) | monero::monero_wallet | inlinevirtual |
+ | get_path() const | monero::monero_wallet | inlinevirtual |
+ | get_primary_address() const override | monero::monero_wallet_keys | inlinevirtual |
+ | get_private_spend_key() const override | monero::monero_wallet_keys | inlinevirtual |
+ | get_private_view_key() const override | monero::monero_wallet_keys | inlinevirtual |
+ | get_public_spend_key() const override | monero::monero_wallet_keys | inlinevirtual |
+ | get_public_view_key() const override | monero::monero_wallet_keys | inlinevirtual |
+ | get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const | monero::monero_wallet | inlinevirtual |
+ | get_reserve_proof_wallet(const std::string &message) const | monero::monero_wallet | inlinevirtual |
+ | get_spend_proof(const std::string &tx_hash, const std::string &message) const | monero::monero_wallet | inlinevirtual |
+ | get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override | monero::monero_wallet_keys | virtual |
+ | monero::monero_wallet::get_subaddresses(const uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_sync_height() const | monero::monero_wallet | inlinevirtual |
+ | get_transfers(const monero_transfer_query &query) const | monero::monero_wallet | inlinevirtual |
+ | get_tx_key(const std::string &tx_hash) const | monero::monero_wallet | inlinevirtual |
+ | get_tx_note(const std::string &tx_hash) const | monero::monero_wallet | inlinevirtual |
+ | get_tx_notes(const std::vector< std::string > &tx_hashes) const | monero::monero_wallet | inlinevirtual |
+ | get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const | monero::monero_wallet | inlinevirtual |
+ | get_txs() const | monero::monero_wallet | inlinevirtual |
+ | get_txs(const monero_tx_query &query) const | monero::monero_wallet | inlinevirtual |
+ | get_txs(const monero_tx_query &query, std::vector< std::string > &missing_tx_hashes) const | monero::monero_wallet | inlinevirtual |
+ | get_unlocked_balance() const | monero::monero_wallet | inlinevirtual |
+ | get_unlocked_balance(uint32_t account_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const | monero::monero_wallet | inlinevirtual |
+ | get_version() const override | monero::monero_wallet_keys | virtual |
+ | import_key_images(const std::vector< std::shared_ptr< monero_key_image >> &key_images) | monero::monero_wallet | inlinevirtual |
+ | import_multisig_hex(const std::vector< std::string > &multisig_hexes) | monero::monero_wallet | inlinevirtual |
+ | import_outputs(const std::string &outputs_hex) | monero::monero_wallet | inlinevirtual |
+ | is_connected() const | monero::monero_wallet | inlinevirtual |
+ | is_daemon_synced() const | monero::monero_wallet | inlinevirtual |
+ | is_daemon_trusted() const | monero::monero_wallet | inlinevirtual |
+ | is_multisig() const | monero::monero_wallet | inlinevirtual |
+ | is_multisig_import_needed() const | monero::monero_wallet | inlinevirtual |
+ | is_synced() const | monero::monero_wallet | inlinevirtual |
+ | is_view_only() const override | monero::monero_wallet_keys | inlinevirtual |
+ | make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) | monero::monero_wallet | inlinevirtual |
+ | move_to(std::string path, std::string password) | monero::monero_wallet | inlinevirtual |
+ | parse_payment_uri(const std::string &uri) const | monero::monero_wallet | inlinevirtual |
| prepare_multisig() | monero::monero_wallet | inlinevirtual |
| relay_tx(const std::string &tx_metadata) | monero::monero_wallet | inlinevirtual |
| relay_tx(const monero_tx_wallet &tx) | monero::monero_wallet | inlinevirtual |
diff --git a/docs/classmonero_1_1monero__wallet__keys.html b/docs/classmonero_1_1monero__wallet__keys.html
index 0d2c27f..42473f1 100644
--- a/docs/classmonero_1_1monero__wallet__keys.html
+++ b/docs/classmonero_1_1monero__wallet__keys.html
@@ -220,12 +220,12 @@ Public Member Functions
| |
| virtual std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const |
| |
-| virtual std::string | get_outputs_hex () const |
-| |
-| virtual int | import_outputs_hex (const std::string &outputs_hex) |
-| |
-| virtual std::vector< std::shared_ptr< monero_key_image > > | get_key_images () const |
-| |
+| virtual std::string | export_outputs (bool all=false) const |
+| |
+| virtual int | import_outputs (const std::string &outputs_hex) |
+| |
+| virtual std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const |
+| |
| virtual std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image >> &key_images) |
| |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
@@ -246,8 +246,8 @@ Public Member Functions
| |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) |
| |
-| virtual monero_tx_set | parse_tx_set (const monero_tx_set &tx_set) |
-| |
+| virtual monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) |
+| |
| virtual std::string | sign_txs (const std::string &unsigned_tx_hex) |
| |
| virtual std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) |
diff --git a/docs/functions_d.html b/docs/functions_d.html
index 0ec55ab..7f9e892 100644
--- a/docs/functions_d.html
+++ b/docs/functions_d.html
@@ -73,6 +73,10 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
+describe_tx_set()
+: monero::monero_wallet
+, monero::monero_wallet_full
+
diff --git a/docs/functions_e.html b/docs/functions_e.html
index 4a7b1f0..aef4ce5 100644
--- a/docs/functions_e.html
+++ b/docs/functions_e.html
@@ -72,6 +72,14 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
+export_key_images()
+: monero::monero_wallet
+, monero::monero_wallet_full
+
+export_outputs()
+: monero::monero_wallet
+, monero::monero_wallet_full
+
diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html
index f83c319..494361c 100644
--- a/docs/functions_func_d.html
+++ b/docs/functions_func_d.html
@@ -73,6 +73,10 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
+describe_tx_set()
+: monero::monero_wallet
+, monero::monero_wallet_full
+
diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html
index 2d305a3..47017e3 100644
--- a/docs/functions_func_e.html
+++ b/docs/functions_func_e.html
@@ -72,6 +72,14 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
+export_key_images()
+: monero::monero_wallet
+, monero::monero_wallet_full
+
+export_outputs()
+: monero::monero_wallet
+, monero::monero_wallet_full
+
diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html
index f0a1d34..88e0c20 100644
--- a/docs/functions_func_g.html
+++ b/docs/functions_func_g.html
@@ -119,10 +119,6 @@ $(function() {
, monero::monero_wallet_full
, monero::monero_wallet_keys
-get_key_images()
-: monero::monero_wallet
-, monero::monero_wallet_full
-
get_keys_file_buffer()
: monero::monero_wallet_full
@@ -161,10 +157,6 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
-get_outputs_hex()
-: monero::monero_wallet
-, monero::monero_wallet_full
-
get_path()
: monero::monero_wallet
, monero::monero_wallet_full
@@ -209,7 +201,7 @@ $(function() {
: monero::monero_wallet
get_subaddresses()
-: monero::monero_wallet
+: monero::monero_wallet
, monero::monero_wallet_full
, monero::monero_wallet_keys
@@ -238,8 +230,8 @@ $(function() {
, monero::monero_wallet_full
get_txs()
-: monero::monero_wallet
-, monero::monero_wallet_full
+: monero::monero_wallet
+, monero::monero_wallet_full
get_unlocked_balance()
: monero::monero_wallet
diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html
index fee52ea..0b7d0a9 100644
--- a/docs/functions_func_i.html
+++ b/docs/functions_func_i.html
@@ -72,9 +72,9 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
-import_outputs_hex()
-: monero::monero_wallet
-, monero::monero_wallet_full
+import_outputs()
+: monero::monero_wallet
+, monero::monero_wallet_full
is_connected()
: monero::monero_wallet
diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html
index 80d18bb..a14fbaf 100644
--- a/docs/functions_func_p.html
+++ b/docs/functions_func_p.html
@@ -68,10 +68,6 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
-parse_tx_set()
-: monero::monero_wallet
-, monero::monero_wallet_full
-
prepare_multisig()
: monero::monero_wallet
, monero::monero_wallet_full
diff --git a/docs/functions_g.html b/docs/functions_g.html
index 79bcfa6..d2752dd 100644
--- a/docs/functions_g.html
+++ b/docs/functions_g.html
@@ -119,10 +119,6 @@ $(function() {
, monero::monero_wallet_full
, monero::monero_wallet_keys
-get_key_images()
-: monero::monero_wallet
-, monero::monero_wallet_full
-
get_keys_file_buffer()
: monero::monero_wallet_full
@@ -161,10 +157,6 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
-get_outputs_hex()
-: monero::monero_wallet
-, monero::monero_wallet_full
-
get_path()
: monero::monero_wallet
, monero::monero_wallet_full
@@ -209,7 +201,7 @@ $(function() {
: monero::monero_wallet
get_subaddresses()
-: monero::monero_wallet
+: monero::monero_wallet
, monero::monero_wallet_full
, monero::monero_wallet_keys
@@ -238,8 +230,8 @@ $(function() {
, monero::monero_wallet_full
get_txs()
-: monero::monero_wallet
-, monero::monero_wallet_full
+: monero::monero_wallet
+, monero::monero_wallet_full
get_unlocked_balance()
: monero::monero_wallet
diff --git a/docs/functions_i.html b/docs/functions_i.html
index 8f850cb..6d08753 100644
--- a/docs/functions_i.html
+++ b/docs/functions_i.html
@@ -72,9 +72,9 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
-import_outputs_hex()
-: monero::monero_wallet
-, monero::monero_wallet_full
+import_outputs()
+: monero::monero_wallet
+, monero::monero_wallet_full
is_connected()
: monero::monero_wallet
diff --git a/docs/functions_p.html b/docs/functions_p.html
index fb172fc..cb8ef95 100644
--- a/docs/functions_p.html
+++ b/docs/functions_p.html
@@ -68,10 +68,6 @@ $(function() {
: monero::monero_wallet
, monero::monero_wallet_full
-parse_tx_set()
-: monero::monero_wallet
-, monero::monero_wallet_full
-
prepare_multisig()
: monero::monero_wallet
, monero::monero_wallet_full
diff --git a/docs/gen__utils_8h_source.html b/docs/gen__utils_8h_source.html
index 5259594..4e27035 100644
--- a/docs/gen__utils_8h_source.html
+++ b/docs/gen__utils_8h_source.html
@@ -75,76 +75,77 @@ $(function() {
- 57 #include "include_base_utils.h"
- 58 #include "common/util.h"
-
-
-
-
-
-
- 68 template <class T, typename std::enable_if<std::is_same<T, std::string>::value, T>::type* = nullptr>
- 69 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, boost::optional<bool> resolve_defined, boost::optional<bool> resolve_true, boost::optional<bool> resolve_max, const std::string& err_msg = "") {
-
-
- 72 if (val1 == val2) return val1;
-
-
- 75 if (val1 == boost::none || val2 == boost::none) {
- 76 if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
- 77 else return val1 == boost::none ? val2 : val1;
-
-
- 80 throw std::runtime_error(std::string( "Cannot reconcile strings: ") + to_string(val1) + std::string( " vs ") + to_string(val2) + (!err_msg.empty() ? std::string( ". ") + err_msg : std::string( "")));
-
- 82 template <class T, typename std::enable_if<std::is_same<T, std::string>::value, T>::type* = nullptr>
- 83 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, const std::string& err_msg = "") {
- 84 return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
-
-
- 87 template <class T, typename std::enable_if<std::is_integral<T>::value, T>::type* = nullptr>
- 88 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, boost::optional<bool> resolve_defined, boost::optional<bool> resolve_true, boost::optional<bool> resolve_max, const std::string& err_msg = "") {
-
-
- 91 if (val1 == val2) return val1;
-
-
- 94 if (val1 == boost::none || val2 == boost::none) {
- 95 if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
- 96 else return val1 == boost::none ? val2 : val1;
-
-
-
- 100 if (resolve_true != boost::none) return ( bool) val1 == *resolve_true ? val1 : val2;
-
-
- 103 if (resolve_max != boost::none) return *resolve_max ? std::max(*val1, *val2) : std::min(*val1, *val2);
-
-
- 106 throw std::runtime_error(std::string( "Cannot reconcile integrals: ") + to_string(val1) + std::string( " vs ") + to_string(val2) + (!err_msg.empty() ? std::string( ". ") + err_msg : std::string( "")));
-
- 108 template <class T, typename std::enable_if<std::is_integral<T>::value, T>::type* = nullptr>
- 109 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, const std::string& err_msg = "") {
- 110 return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
-
-
-
- 114 std::vector<T> reconcile( const std::vector<T>& v1, const std::vector<T>& v2, const std::string& err_msg = "") {
-
-
- 117 if (v1 == v2) return v1;
-
-
- 120 if (v1.empty()) return v2;
- 121 if (v2.empty()) return v1;
-
-
- 124 throw std::runtime_error( "Cannot reconcile vectors" + (!err_msg.empty() ? std::string( ". ") + err_msg : std::string( "")));
-
-
-
+ 57 #include <boost/lexical_cast.hpp>
+ 58 #include "include_base_utils.h"
+ 59 #include "common/util.h"
+
+
+
+
+
+
+ 69 template <class T, typename std::enable_if<std::is_same<T, std::string>::value, T>::type* = nullptr>
+ 70 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, boost::optional<bool> resolve_defined, boost::optional<bool> resolve_true, boost::optional<bool> resolve_max, const std::string& err_msg = "") {
+
+
+ 73 if (val1 == val2) return val1;
+
+
+ 76 if (val1 == boost::none || val2 == boost::none) {
+ 77 if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
+ 78 else return val1 == boost::none ? val2 : val1;
+
+
+ 81 throw std::runtime_error(std::string( "Cannot reconcile strings: ") + boost::lexical_cast<std::string>(val1) + std::string( " vs ") + boost::lexical_cast<std::string>(val2) + (!err_msg.empty() ? std::string( ". ") + err_msg : std::string( "")));
+
+ 83 template <class T, typename std::enable_if<std::is_same<T, std::string>::value, T>::type* = nullptr>
+ 84 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, const std::string& err_msg = "") {
+ 85 return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
+
+
+ 88 template <class T, typename std::enable_if<std::is_integral<T>::value, T>::type* = nullptr>
+ 89 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, boost::optional<bool> resolve_defined, boost::optional<bool> resolve_true, boost::optional<bool> resolve_max, const std::string& err_msg = "") {
+
+
+ 92 if (val1 == val2) return val1;
+
+
+ 95 if (val1 == boost::none || val2 == boost::none) {
+ 96 if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
+ 97 else return val1 == boost::none ? val2 : val1;
+
+
+
+ 101 if (resolve_true != boost::none) return ( bool) val1 == *resolve_true ? val1 : val2;
+
+
+ 104 if (resolve_max != boost::none) return *resolve_max ? std::max(*val1, *val2) : std::min(*val1, *val2);
+
+
+ 107 throw std::runtime_error(std::string( "Cannot reconcile integrals: ") + boost::lexical_cast<std::string>(val1) + std::string( " vs ") + boost::lexical_cast<std::string>(val2) + (!err_msg.empty() ? std::string( ". ") + err_msg : std::string( "")));
+
+ 109 template <class T, typename std::enable_if<std::is_integral<T>::value, T>::type* = nullptr>
+ 110 boost::optional<T> reconcile( const boost::optional<T>& val1, const boost::optional<T>& val2, const std::string& err_msg = "") {
+ 111 return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
+
+
+
+ 115 std::vector<T> reconcile( const std::vector<T>& v1, const std::vector<T>& v2, const std::string& err_msg = "") {
+
+
+ 118 if (v1 == v2) return v1;
+
+
+ 121 if (v1.empty()) return v2;
+ 122 if (v2.empty()) return v1;
+
+
+ 125 throw std::runtime_error( "Cannot reconcile vectors" + (!err_msg.empty() ? std::string( ". ") + err_msg : std::string( "")));
+
+
+
-Definition: gen_utils.h:64
+Definition: gen_utils.h:65
|