Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

PlainAbuseAddiesCache Class Reference

#include <PlainAbuseAddiesCache.h>

List of all members.

Public Member Functions

 PlainAbuseAddiesCache (const std::string &filename) throw (std::runtime_error)
virtual ~PlainAbuseAddiesCache ()
virtual std::list< std::string > query (const std::string &domain) const throw (std::runtime_error)
virtual std::list< std::string > query (const Url &url) const throw (std::runtime_error)
virtual void add (const UrlRange &range, const std::list< std::string > &addies) throw (std::runtime_error)

Private Types

typedef std::list< EntryList

Private Member Functions

void init (const std::string &buf) throw (std::runtime_error)
void save () throw (std::runtime_error)

Private Attributes

std::string m_filename
List m_list


struct  Entry

Member Typedef Documentation

typedef std::list<Entry> PlainAbuseAddiesCache::List [private]

Constructor & Destructor Documentation

PlainAbuseAddiesCache::PlainAbuseAddiesCache const std::string &  filename  )  throw (std::runtime_error)

PlainAbuseAddiesCache::~PlainAbuseAddiesCache  )  [virtual]

Member Function Documentation

virtual void PlainAbuseAddiesCache::add const UrlRange &  range,
const std::list< std::string > &  addies
throw (std::runtime_error) [virtual]

void PlainAbuseAddiesCache::init const std::string &  buf  )  throw (std::runtime_error) [private]

list< string > PlainAbuseAddiesCache::query const Url &  url  )  const throw (std::runtime_error) [virtual]

virtual std::list<std::string> PlainAbuseAddiesCache::query const std::string &  domain  )  const throw (std::runtime_error) [virtual]

void PlainAbuseAddiesCache::save  )  throw (std::runtime_error) [private]

Member Data Documentation

std::string PlainAbuseAddiesCache::m_filename [private]

List PlainAbuseAddiesCache::m_list [private]

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