8 #ifndef OPENDDS_DCPS_NETWORK_ADDRESS_H 9 #define OPENDDS_DCPS_NETWORK_ADDRESS_H 13 #ifndef ACE_LACKS_PRAGMA_ONCE 36 #if defined (ACE_HAS_WCHAR) 46 operator bool()
const;
54 #if defined ACE_HAS_CPP11 55 size_t hash(
size_t result)
const;
63 ACE_INT16 get_type()
const;
64 void set_type(ACE_INT16 type);
66 ACE_UINT16 get_port_number()
const;
67 void set_port_number(ACE_UINT16 port);
70 bool is_loopback()
const;
71 bool is_multicast()
const;
73 bool is_private()
const;
75 bool is_linklocal()
const;
76 bool is_uniquelocal()
const;
77 bool is_sitelocal()
const;
83 #if defined (ACE_HAS_IPV6) 91 #if defined ACE_HAS_CPP11 93 size_t calculate_hash(
const AddrSet& addrs,
size_t start_hash = 0);
104 #if defined ACE_HAS_CPP11
ACE_INLINE OpenDDS_Dcps_Export bool operator!(const DDS::Time_t &t)
int hash(const std::vector< const DDS::OctetSeq *> &src, DDS::OctetSeq &dst)
#define OpenDDS_Dcps_Export
bool is_more_local(const NetworkAddress ¤t, const NetworkAddress &incoming)
bool operator==(const DisjointSequence::OrderedRanges< T > &a, const DisjointSequence::OrderedRanges< T > &b)
bool operator!=(const GUID_t &lhs, const GUID_t &rhs)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
bool operator<(const GUID_t &lhs, const GUID_t &rhs)
typedef OPENDDS_SET(NetworkAddress) AddrSet