Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

active_filter_group< Format > Class Template Reference

List of all members.

Public Member Functions

 active_filter_group (ostream &os, const NewsgroupFilter &filter)
void operator() (const GroupInfo &gd)

Private Attributes

Format fmt
const NewsgroupFilterfilter

template<class Format>
class active_filter_group< Format >


Constructor & Destructor Documentation

template<class Format>
active_filter_group< Format >::active_filter_group ostream &  os,
const NewsgroupFilter filter
[inline]
 

Definition at line 1338 of file NewsCache.cc.

References active_filter_group< Format >::fmt.

01339         :fmt(os), filter(filter) {
01340         }


Member Function Documentation

template<class Format>
void active_filter_group< Format >::operator() const GroupInfo gd  )  [inline]
 

Definition at line 1341 of file NewsCache.cc.

References active_filter_group< Format >::filter, active_filter_group< Format >::fmt, NewsgroupFilter::matches(), and GroupInfo::name().

01341                                                {
01342                 if (filter.matches(gd.name()) > 0)
01343                         fmt(gd);
01344         }


Member Data Documentation

template<class Format>
const NewsgroupFilter& active_filter_group< Format >::filter [private]
 

Definition at line 1336 of file NewsCache.cc.

Referenced by active_filter_group< Format >::operator()().

template<class Format>
Format active_filter_group< Format >::fmt [private]
 

Definition at line 1335 of file NewsCache.cc.

Referenced by active_filter_group< Format >::active_filter_group(), and active_filter_group< Format >::operator()().


The documentation for this class was generated from the following file:
Generated on Fri Aug 20 10:58:09 2004 for NewsCache by doxygen 1.3.6-20040222