BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
12 explicit address( uint32_t ip = 0 );
13 explicit address(
const std::string& s );
17 explicit operator std::string()
const;
19 operator uint32_t()
const;
69 explicit endpoint( uint32_t i, uint16_t p = 0);
74 explicit operator string()
const;
101 void to_variant(
const ip::address& var, variant& vo, uint32_t _max_depth = 1 );
102 void from_variant(
const variant& var, ip::address& vo, uint32_t _max_depth = 1 );
107 template<
typename Stream>
113 template<
typename Stream>
122 template<
typename Stream>
130 template<
typename Stream>
#define FC_PACK_MAX_DEPTH
friend bool operator!=(const address &a, const address &b)
bool is_multicast_address() const
FC_REFLECT_TYPENAME(fc::log_message)
void unpack(Stream &s, flat_set< T, A... > &value, uint32_t _max_depth)
bool is_private_address() const
static endpoint from_string(const string &s)
friend bool operator<(const endpoint &a, const endpoint &b)
bool is_loopback_address() const
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
Defines types and macros used to provide reflection.
void set_port(uint16_t p)
boost::asio::ip::tcp::endpoint endpoint
friend bool operator==(const endpoint &a, const endpoint &b)
const address & get_address() const
bool is_public_address() const
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
friend bool operator==(const address &a, const address &b)
size_t city_hash_size_t(const char *buf, size_t len)
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
friend bool operator!=(const endpoint &a, const endpoint &b)
address & operator=(const std::string &s)
void pack(Stream &s, const flat_set< T, A... > &value, uint32_t _max_depth)
size_t operator()(const fc::ip::endpoint &e) const