00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _pipxaddr_h_
00021 #define _pipxaddr_h_
00022
00023 #include <pclasses/pexport.h>
00024 #include <pclasses/psocket.h>
00025 #include <iostream>
00026 #include <string>
00027
00028 namespace P {
00029
00031
00035 class PNET_EXPORT IpxAddress: public NetworkAddress {
00036 public:
00038 IpxAddress();
00039
00040 IpxAddress(const NetworkAddress& addr);
00041
00043 IpxAddress(const std::string& ipxaddr);
00044
00046 std::string str() const;
00047
00048 NetworkAddress* clone() const;
00049
00051 IpxAddress& operator=(const std::string& ipxaddr);
00052
00053 PNET_EXPORT friend std::ostream& operator<<(std::ostream& os, const IpxAddress& addr);
00054 PNET_EXPORT friend std::istream& operator>>(std::istream& is, IpxAddress& addr);
00055 };
00056
00057 }
00058
00059 #endif