libtorrent::detail::filter_impl< Addr > Class Template Reference

#include <ip_filter.hpp>

List of all members.

Public Member Functions

 filter_impl ()
void add_rule (Addr first, Addr last, int flags)
int access (Addr const &addr) const
std::vector< ip_range< Addr > > export_filter () const

Private Types

typedef std::set< rangerange_t

Private Member Functions

Addr plus_one (Addr const &a) const
Addr minus_one (Addr const &a) const
Addr max_addr () const

Private Attributes

range_t m_access_list

Classes

struct  range


Detailed Description

template<class Addr>
class libtorrent::detail::filter_impl< Addr >

Definition at line 78 of file ip_filter.hpp.


Member Typedef Documentation

template<class Addr>
typedef std::set<range> libtorrent::detail::filter_impl< Addr >::range_t [private]

Definition at line 239 of file ip_filter.hpp.


Constructor & Destructor Documentation

template<class Addr>
libtorrent::detail::filter_impl< Addr >::filter_impl (  )  [inline]

Definition at line 82 of file ip_filter.hpp.


Member Function Documentation

template<class Addr>
void libtorrent::detail::filter_impl< Addr >::add_rule ( Addr  first,
Addr  last,
int  flags 
) [inline]

Definition at line 90 of file ip_filter.hpp.

template<class Addr>
int libtorrent::detail::filter_impl< Addr >::access ( Addr const &  addr  )  const [inline]

Definition at line 148 of file ip_filter.hpp.

template<class Addr>
std::vector<ip_range<Addr> > libtorrent::detail::filter_impl< Addr >::export_filter (  )  const [inline]

Definition at line 159 of file ip_filter.hpp.

template<class Addr>
Addr libtorrent::detail::filter_impl< Addr >::plus_one ( Addr const &  a  )  const [inline, private]

template<class Addr>
Addr libtorrent::detail::filter_impl< Addr >::minus_one ( Addr const &  a  )  const [inline, private]

template<class Addr>
Addr libtorrent::detail::filter_impl< Addr >::max_addr (  )  const [inline, private]


Member Data Documentation

template<class Addr>
range_t libtorrent::detail::filter_impl< Addr >::m_access_list [private]


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

Generated on Sun May 25 00:21:46 2008 by  doxygen 1.5.6