Public Member Functions | Private Member Functions | Private Attributes
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 ( )

Member Function Documentation

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

Definition at line 51 of file NetAddress.hh.

References fData.

52  { return fData; }
u_int8_t * fData
Definition: NetAddress.hh:59
unsigned NetAddress::length ( ) const

Definition at line 50 of file NetAddress.hh.

References fLength.

50 { return fLength; }
unsigned fLength
Definition: NetAddress.hh:58
NetAddress& NetAddress::operator= ( NetAddress const &  rightSide)

Field Documentation

u_int8_t* NetAddress::fData

Definition at line 59 of file NetAddress.hh.

Referenced by data().

unsigned NetAddress::fLength

Definition at line 58 of file NetAddress.hh.

Referenced by length().

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