ibrcommon::NetInterface Class Reference

#include <NetInterface.h>

List of all members.

Public Member Functions

 NetInterface (std::string interface)
virtual ~NetInterface ()
std::string getInterface () const
std::string getAddress () const
std::string getBroadcast () const
void getAddress (struct in_addr *ret) const
void getBroadcast (struct in_addr *ret) const
bool operator< (const NetInterface &) const
bool operator== (const NetInterface &) const


Detailed Description

Definition at line 16 of file NetInterface.h.


Constructor & Destructor Documentation

ibrcommon::NetInterface::NetInterface ( std::string  interface  ) 

Definition at line 28 of file NetInterface.cpp.

ibrcommon::NetInterface::~NetInterface (  )  [virtual]

Definition at line 33 of file NetInterface.cpp.


Member Function Documentation

std::string ibrcommon::NetInterface::getInterface (  )  const

std::string ibrcommon::NetInterface::getAddress (  )  const

std::string ibrcommon::NetInterface::getBroadcast (  )  const

Definition at line 60 of file NetInterface.cpp.

Referenced by ibrcommon::BroadcastSocket::bind(), and getBroadcast().

void ibrcommon::NetInterface::getAddress ( struct in_addr *  ret  )  const

Definition at line 65 of file NetInterface.cpp.

References getAddress().

void ibrcommon::NetInterface::getBroadcast ( struct in_addr *  ret  )  const

Definition at line 70 of file NetInterface.cpp.

References getBroadcast().

bool ibrcommon::NetInterface::operator< ( const NetInterface other  )  const

Definition at line 38 of file NetInterface.cpp.

References _interface.

bool ibrcommon::NetInterface::operator== ( const NetInterface other  )  const

Definition at line 44 of file NetInterface.cpp.

References _interface.


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

Generated on Fri Jul 30 09:15:36 2010 for IBR-DTNSuite by  doxygen 1.5.6