NetAddress Class Reference

#include <NetAddress.hh>


Public Member Functions

 NetAddress (u_int8_t const *data, unsigned length=4)
 NetAddress (unsigned length=4)
 NetAddress (NetAddress const &orig)
NetAddressoperator= (NetAddress const &rightSide)
virtual ~NetAddress ()
unsigned length () const
u_int8_t const * data () const

Private Member Functions

void assign (u_int8_t const *data, unsigned length)
void clean ()

Private Attributes

unsigned fLength
u_int8_t * fData


Detailed Description

Definition at line 41 of file NetAddress.hh.


Constructor & Destructor Documentation

NetAddress::NetAddress ( u_int8_t const *  data,
unsigned  length = 4 
)

NetAddress::NetAddress ( unsigned  length = 4  ) 

NetAddress::NetAddress ( NetAddress const &  orig  ) 

virtual NetAddress::~NetAddress (  )  [virtual]


Member Function Documentation

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

unsigned NetAddress::length (  )  const [inline]

Definition at line 50 of file NetAddress.hh.

References fLength.

00050 { return fLength; }

u_int8_t const* NetAddress::data (  )  const [inline]

Definition at line 51 of file NetAddress.hh.

References fData.

00052   { return fData; }

void NetAddress::assign ( u_int8_t const *  data,
unsigned  length 
) [private]

void NetAddress::clean (  )  [private]


Field Documentation

unsigned NetAddress::fLength [private]

Definition at line 58 of file NetAddress.hh.

Referenced by length().

u_int8_t* NetAddress::fData [private]

Definition at line 59 of file NetAddress.hh.

Referenced by data().


The documentation for this class was generated from the following file:
Generated on Fri Sep 12 12:32:31 2014 for live by  doxygen 1.5.2