hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
string_view_types.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_STRING_VIEW_TYPES_HPP
7 #define IROHA_SHARED_MODEL_STRING_VIEW_TYPES_HPP
8 
9 #include <string_view>
10 
11 #include <boost/serialization/strong_typedef.hpp>
13 
14 namespace shared_model {
15  namespace interface {
16  namespace types {
17  BOOST_STRONG_TYPEDEF(std::string_view, SignedHexStringView)
18  BOOST_STRONG_TYPEDEF(ByteRange, SignatureByteRangeView)
19 
20  BOOST_STRONG_TYPEDEF(std::string_view, PublicKeyHexStringView)
21  BOOST_STRONG_TYPEDEF(ByteRange, PublicKeyByteRangeView)
22 
23  BOOST_STRONG_TYPEDEF(std::string_view, EvmCalleeHexStringView)
24  BOOST_STRONG_TYPEDEF(std::string_view, EvmCodeHexStringView)
25  } // namespace types
26  } // namespace interface
27 } // namespace shared_model
28 
29 #endif // IROHA_SHARED_MODEL_STRING_VIEW_TYPES_HPP
Definition: byte_range.hpp:14
Definition: command_executor.hpp:12
std::basic_string_view< std::byte > ByteRange
Definition: byte_range.hpp:16