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

lemur::dictionary::TypeDictEntryFilter Class Reference

Accept all entries with a specified type. More...

#include <PDict.hpp>

Inheritance diagram for lemur::dictionary::TypeDictEntryFilter:

lemur::dictionary::DictEntryFilter List of all members.

Public Member Functions

 TypeDictEntryFilter (const string &filtType)
 Initialize filter type value.

bool accept (const DictEntry &entry) const
 Accept or reject an entry based on type.


Private Attributes

string type

Detailed Description

Accept all entries with a specified type.


Constructor & Destructor Documentation

lemur::dictionary::TypeDictEntryFilter::TypeDictEntryFilter const string &  filtType  )  [inline]
 

Initialize filter type value.

Parameters:
filtType the type string to filter on.


Member Function Documentation

bool lemur::dictionary::TypeDictEntryFilter::accept const DictEntry entry  )  const [inline, virtual]
 

Accept or reject an entry based on type.

Parameters:
entry The entry to filter
Returns:
true if the entry's type is equal to the filter type value.

Implements lemur::dictionary::DictEntryFilter.


Member Data Documentation

string lemur::dictionary::TypeDictEntryFilter::type [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:05 2010 for Lemur by doxygen 1.3.4