CAddressInfo::Iterator Class Reference
[Addresses]

Inheritance diagram for CAddressInfo::Iterator:

Inheritance graph
[legend]
Collaboration diagram for CAddressInfo::Iterator:

Collaboration graph
[legend]

List of all members.


Detailed Description

An iterator to addresses that are supported by the host.

Public Member Functions

 Iterator ()
 Iterator (const Iterator &rhs)
Iteratoroperator= (const Iterator &rhs)
Iteratoroperator++ ()
Iterator operator++ (int)
bool operator!= (const Iterator &rhs) const
bool operator== (const Iterator &rhs) const
virtual short Family () const
 Returns the address family of the address.
virtual const sockaddr & AsSockAddr () const
 Returns the address as a reference to a sockaddr structure.
virtual int Size () const
 Returns the size of the sockaddr structure required to store the address.
virtual IAddressRefGetAddressRef () const
 Returns a reference counted view on this address, be sure to call Release() on the IAdressRef when you're done with it.

Friends

class CAddressInfo

Constructor & Destructor Documentation

Iterator (  ) 

Iterator ( const Iterator rhs  ) 


Member Function Documentation

CAddressInfo::Iterator & operator= ( const Iterator rhs  ) 

CAddressInfo::Iterator & operator++ (  ) 

CAddressInfo::Iterator operator++ ( int   ) 

bool operator!= ( const Iterator rhs  )  const

bool operator== ( const Iterator rhs  )  const

short Family (  )  const [virtual]

Returns the address family of the address.

Implements IAddress.

const sockaddr & AsSockAddr (  )  const [virtual]

Returns the address as a reference to a sockaddr structure.

Implements IAddress.

int Size (  )  const [virtual]

Returns the size of the sockaddr structure required to store the address.

Implements IAddress.

IAddressRef * GetAddressRef (  )  const [virtual]

Returns a reference counted view on this address, be sure to call Release() on the IAdressRef when you're done with it.

Implements IAddress.


Friends And Related Function Documentation

friend class CAddressInfo [friend]


Generated on Tue Oct 2 15:45:27 2007 for JetByte Tools - v5.2 by  doxygen 1.5.3