ircproxy  The Ultimate Cyborg

IPNumber Class Reference

#include <IPNumber.h>

List of all members.


Detailed Description

An IP number.

Definition at line 25 of file IPNumber.h.


Public Member Functions

 IPNumber (void)
 Construct an uninitialized IPNumber.
 IPNumber (std::string const &ip_number)
 Construct an IPNumber with IP number ip_number.
std::string str (void) const
 Returns the IP number in dot notation.

Private Attributes

std::string M_ip_number
 IP number as string (FIXME).

Constructor & Destructor Documentation

IPNumber::IPNumber ( void   )  [inline]

Construct an uninitialized IPNumber.

Definition at line 30 of file IPNumber.h.

References debug::channels::dc::objects.

00030 { Dout(dc::objects, "Constructing uninitialized IPNumber"); }

IPNumber::IPNumber ( std::string const &  ip_number  )  [inline]

Construct an IPNumber with IP number ip_number.

Definition at line 32 of file IPNumber.h.

References debug::channels::dc::objects.

00032                                          : M_ip_number(ip_number)
00033         { Dout(dc::objects, "Constructing IPNumber from " << ip_number); }


Member Function Documentation

std::string IPNumber::str ( void   )  const [inline]

Returns the IP number in dot notation.

Definition at line 36 of file IPNumber.h.

References M_ip_number.

00036 { return M_ip_number; }


Member Data Documentation

std::string IPNumber::M_ip_number [private]

IP number as string (FIXME).

Definition at line 27 of file IPNumber.h.

Referenced by str().


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

Copyright © 2005-2007 Carlo Wood.  All rights reserved.