ledger-core
BitcoinLikeScript.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from bitcoin_script.djinni
3 
4 #ifndef DJINNI_GENERATED_BITCOINLIKESCRIPT_HPP
5 #define DJINNI_GENERATED_BITCOINLIKESCRIPT_HPP
6 
7 #include <cstdint>
8 #include <memory>
9 #include <string>
10 #include <vector>
11 #ifndef LIBCORE_EXPORT
12  #if defined(_MSC_VER)
13  #include <libcore_export.h>
14  #else
15  #define LIBCORE_EXPORT
16  #endif
17 #endif
18 
19 namespace ledger { namespace core { namespace api {
20 
21 class BitcoinLikeScriptChunk;
22 
24 class LIBCORE_EXPORT BitcoinLikeScript {
25 public:
26  virtual ~BitcoinLikeScript() {}
27 
32  virtual std::shared_ptr<BitcoinLikeScriptChunk> head() = 0;
33 
35  virtual std::string toString() = 0;
36 
38  static std::shared_ptr<BitcoinLikeScript> parse(const std::vector<uint8_t> & data);
39 };
40 
41 } } } // namespace ledger::core::api
42 #endif //DJINNI_GENERATED_BITCOINLIKESCRIPT_HPP
Definition: BitcoinLikeScript.hpp:24
Definition: Account.cpp:8