Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::Inet6Address Class Reference
[Networking library]

Internet address (IPv6). More...

#include <pinet6addr.h>

Inheritance diagram for P::Inet6Address:

P::NetworkAddress List of all members.

Public Member Functions

 Inet6Address ()
 Default constructor (IN6ADDR_ANY).

 Inet6Address (const NetworkAddress &addr)
 Inet6Address (const std::string &ip6addr)
 Address string constructor.

 Inet6Address (const in6_addr &addr)
 Native address constructor.

const in6_addr & inaddr () const
 Returns the 64bit internet address.

std::string str () const
 Returns the address as a string.

NetworkAddressclone () const
Inet6Addressoperator= (const in6_addr &addr)
 Address assign operator.

Inet6Addressoperator= (const std::string &ip6addr)
 Address string assign operator.


Friends

PNET_EXPORT friend std::ostream & operator<< (std::ostream &os, const Inet6Address &addr)
PNET_EXPORT friend std::istream & operator>> (std::istream &is, Inet6Address &addr)

Detailed Description

Internet address (IPv6).

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 38 of file pinet6addr.h.


Constructor & Destructor Documentation

P::Inet6Address::Inet6Address  ) 
 

Default constructor (IN6ADDR_ANY).

P::Inet6Address::Inet6Address const NetworkAddress addr  ) 
 

P::Inet6Address::Inet6Address const std::string &  ip6addr  ) 
 

Address string constructor.

P::Inet6Address::Inet6Address const in6_addr &  addr  ) 
 

Native address constructor.


Member Function Documentation

NetworkAddress* P::Inet6Address::clone  )  const [virtual]
 

Implements P::NetworkAddress.

const in6_addr& P::Inet6Address::inaddr  )  const
 

Returns the 64bit internet address.

Inet6Address& P::Inet6Address::operator= const std::string &  ip6addr  ) 
 

Address string assign operator.

Inet6Address& P::Inet6Address::operator= const in6_addr &  addr  ) 
 

Address assign operator.

std::string P::Inet6Address::str  )  const [virtual]
 

Returns the address as a string.

Implements P::NetworkAddress.


Friends And Related Function Documentation

PNET_EXPORT friend std::ostream& operator<< std::ostream &  os,
const Inet6Address addr
[friend]
 

PNET_EXPORT friend std::istream& operator>> std::istream &  is,
Inet6Address addr
[friend]
 


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:34 2004 for P::Classes by doxygen 1.3.3