4 #ifndef DJINNI_GENERATED_ADDRESS_HPP 5 #define DJINNI_GENERATED_ADDRESS_HPP 7 #include "../utils/optional.hpp" 10 #ifndef LIBCORE_EXPORT 12 #include <libcore_export.h> 14 #define LIBCORE_EXPORT 18 namespace ledger {
namespace core {
namespace api {
20 class BitcoinLikeAddress;
37 virtual std::string toString() = 0;
39 virtual std::shared_ptr<BitcoinLikeAddress> asBitcoinLikeAddress() = 0;
41 virtual bool isInstanceOfBitcoinLikeAddress() = 0;
52 static std::shared_ptr<Address> parse(
const std::string & address,
const Currency & currency);
60 static bool isValid(
const std::string & address,
const Currency & currency);
64 #endif //DJINNI_GENERATED_ADDRESS_HPP Definition: Address.hpp:23
Definition: Currency.hpp:23
Definition: Account.cpp:8