Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #ifndef __CXUTILS_IPV6_ADDRESS_H
00041 #define __CXUTILS_IPV6_ADDRESS_H
00042
00043 #include "cxutils/networking/ipaddress.h"
00044 #include <list>
00045
00046 namespace CxUtils
00047 {
00054 class CX_UTILS_DLL IP6Address : public IPAddress
00055 {
00056 public:
00057 typedef std::set<IP6Address> Set;
00058 typedef std::vector<IP6Address> List;
00059 typedef std::list<IP6Address> Queue;
00060 IP6Address();
00061 IP6Address(const char* ipAddress);
00062 IP6Address(const std::string& ipAddress);
00063 IP6Address(const IP6Address& ipAddress);
00064 ~IP6Address();
00065 bool SetAddress(const std::string& ipAddress);
00066 bool SetAddress(const unsigned char a,
00067 const unsigned char b,
00068 const unsigned char c,
00069 const unsigned char d,
00070 const unsigned char e,
00071 const unsigned char f);
00072 IP6Address& operator=(const IP6Address& ipAddress);
00073 IP6Address& operator=(const std::string& ipAddress);
00074
00075 bool operator==(const IP6Address& ipAddress) const;
00076 bool operator!=(const IP6Address& ipAddress) const;
00077 bool operator<(const IP6Address& ipAddress) const;
00078 bool operator<=(const IP6Address& ipAddress) const;
00079 virtual void Clear();
00080 std::string mString;
00081 unsigned char mData[6];
00082 };
00083 }
00084
00085
00086
00087
00088
00089
00090
00091 #endif
00092
00093