Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

UrlRange Class Reference

#include <UrlRange.h>

List of all members.

Public Member Functions

 UrlRange (const Url &f, const Url &to)
 UrlRange (const Url &f, unsigned char netw)
 UrlRange (const std::string &range) throw (std::runtime_error)
bool operator== (const UrlRange &other) const
bool operator!= (const UrlRange &other) const
bool operator< (const UrlRange &other) const
bool contains (const in_addr &addr) const
bool contains (const UrlRange &other) const
bool overlaps (const UrlRange &other) const
int size () const
bool empty () const

Public Attributes

Url from
Url to
unsigned char netwidth

Private Member Functions

void rangeFromNetwidth (const Url &from, unsigned char netw)

Constructor & Destructor Documentation

UrlRange::UrlRange const Url f,
const Url to

UrlRange::UrlRange const Url f,
unsigned char  netw

UrlRange::UrlRange const std::string &  range  )  throw (std::runtime_error)

Member Function Documentation

bool UrlRange::contains const UrlRange other  )  const

bool UrlRange::contains const in_addr &  addr  )  const

bool UrlRange::empty  )  const

bool UrlRange::operator!= const UrlRange other  )  const [inline]

bool UrlRange::operator< const UrlRange other  )  const [inline]

bool UrlRange::operator== const UrlRange other  )  const [inline]

bool UrlRange::overlaps const UrlRange other  )  const

void UrlRange::rangeFromNetwidth const Url from,
unsigned char  netw

int UrlRange::size  )  const

Member Data Documentation

Url UrlRange::from

unsigned char UrlRange::netwidth

Url UrlRange::to

The documentation for this class was generated from the following files:
Generated on Thu Jun 16 00:13:15 2005 for Netlib for Abuse! by  doxygen 1.4.3