The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CNetworkInterfaceAddresses::Iterator Class Reference

Inheritance diagram for CNetworkInterfaceAddresses::Iterator:
Collaboration diagram for CNetworkInterfaceAddresses::Iterator:

List of all members.

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
unsigned short Family () const override
 Returns the address family of the address.
const sockaddr & AsSockAddr () const override
 Returns the address as a reference to a sockaddr structure.
int Size () const override
 Returns the size of the sockaddr structure required to store the address.
IAddressRefGetAddressRef () const override
 Returns a reference counted view on this address, be sure to call Release() on the IAdressRef when you're done with it.
bool IsWildcardAddress () const override

Static Public Member Functions

static bool IsValid (const IAddress &address)
static bool IsSameAddress (const IAddress &lhs, const IAddress &rhs)

Friends

class CNetworkInterfaceAddresses


Constructor & Destructor Documentation

Iterator (  ) 

Iterator ( const Iterator rhs  ) 


Member Function Documentation

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

CNetworkInterfaceAddresses::Iterator operator++ ( int   ) 

bool operator!= ( const Iterator rhs  )  const

bool operator== ( const Iterator rhs  )  const

unsigned short Family (  )  const [override, virtual]

Returns the address family of the address.

Implements IAddress.

const sockaddr & AsSockAddr (  )  const [override, virtual]

Returns the address as a reference to a sockaddr structure.

Implements IAddress.

int Size (  )  const [override, virtual]

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

Implements IAddress.

IAddressRef * GetAddressRef (  )  const [override, 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.

bool IsWildcardAddress (  )  const [override, virtual]

Implements IAddress.

bool IsValid ( const IAddress address  )  [static, inherited]

bool IsSameAddress ( const IAddress lhs,
const IAddress rhs 
) [static, inherited]


Friends And Related Function Documentation

friend class CNetworkInterfaceAddresses [friend]


Generated on Sun Sep 12 19:10:44 2021 for The Server Framework - v7.4 by doxygen 1.5.3