live
Data Structures | Public Member Functions | Private Member Functions | Private Attributes | Friends
NetAddressList Class Reference

#include <NetAddress.hh>

Collaboration diagram for NetAddressList:
Collaboration graph
[legend]

Data Structures

class  Iterator
 

Public Member Functions

 NetAddressList (char const *hostname, int addressFamily=AF_UNSPEC)
 
 NetAddressList (NetAddressList const &orig)
 
NetAddressListoperator= (NetAddressList const &rightSide)
 
virtual ~NetAddressList ()
 
unsigned numAddresses () const
 
NetAddress const * firstAddress () const
 

Private Member Functions

void assign (unsigned numAddresses, NetAddress **addressArray)
 
void clean ()
 

Private Attributes

unsigned fNumAddresses
 
NetAddress ** fAddressArray
 

Friends

class Iterator
 

Detailed Description

Definition at line 72 of file NetAddress.hh.

Constructor & Destructor Documentation

◆ NetAddressList() [1/2]

NetAddressList::NetAddressList ( char const *  hostname,
int  addressFamily = AF_UNSPEC 
)

◆ NetAddressList() [2/2]

NetAddressList::NetAddressList ( NetAddressList const &  orig)

◆ ~NetAddressList()

virtual NetAddressList::~NetAddressList ( )
virtual

Member Function Documentation

◆ assign()

void NetAddressList::assign ( unsigned  numAddresses,
NetAddress **  addressArray 
)
private

◆ clean()

void NetAddressList::clean ( )
private

◆ firstAddress()

NetAddress const * NetAddressList::firstAddress ( ) const

◆ numAddresses()

unsigned NetAddressList::numAddresses ( ) const
inline

Definition at line 79 of file NetAddress.hh.

79{ return fNumAddresses; }
unsigned fNumAddresses
Definition: NetAddress.hh:98

References fNumAddresses.

◆ operator=()

NetAddressList & NetAddressList::operator= ( NetAddressList const &  rightSide)

Friends And Related Function Documentation

◆ Iterator

friend class Iterator
friend

Definition at line 97 of file NetAddress.hh.

Field Documentation

◆ fAddressArray

NetAddress** NetAddressList::fAddressArray
private

Definition at line 99 of file NetAddress.hh.

◆ fNumAddresses

unsigned NetAddressList::fNumAddresses
private

Definition at line 98 of file NetAddress.hh.

Referenced by numAddresses().


The documentation for this class was generated from the following file: