From fa7c78d39976a0679315b5a8229594ced13a5b0f Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Wed, 27 Feb 2008 19:30:28 +0000 Subject: added networkAddress operators --- networkAddress.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'networkAddress.h') diff --git a/networkAddress.h b/networkAddress.h index 371abf2..f20f018 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -49,11 +49,17 @@ class NetworkAddress { public: NetworkAddress(); + NetworkAddress(const NetworkAddress &); + NetworkAddress(in6_addr); + NetworkAddress(in_addr); + NetworkAddress(uint64_t); ~NetworkAddress(); void setNetworkAddress(const network_address_type_t type, const char * address ); void getNetworkAddress(const char *); network_address_type_t getNetworkAddressType(); bool operator<(const NetworkAddress &s) const; + NetworkAddress operator&(const NetworkAddress &s) const; + NetworkAddress operator<<(uint8_t shift) const; private: Mutex mutex_; -- cgit v1.2.3