CLucene - a full-featured, c++ search engine
API Documentation
00001 /*------------------------------------------------------------------------------ 00002 * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team 00003 * 00004 * Distributable under the terms of either the Apache License (Version 2.0) or 00005 * the GNU Lesser General Public License, as specified in the COPYING file. 00006 ------------------------------------------------------------------------------*/ 00007 #ifndef _lucene_analysis_standard_StandardFilter 00008 #define _lucene_analysis_standard_StandardFilter 00009 00010 #if defined(_LUCENE_PRAGMA_ONCE) 00011 # pragma once 00012 #endif 00013 00014 #include "../AnalysisHeader.h" 00015 #include "../Analyzers.h" 00016 #include "StandardTokenizerConstants.h" 00017 #include "CLucene/util/StringBuffer.h" 00018 00019 CL_NS_DEF2(analysis,standard) 00020 00021 00022 class StandardFilter: public TokenFilter{ 00023 public: 00024 // Construct filtering <i>in</i>. 00025 StandardFilter(TokenStream* in, bool deleteTokenStream); 00026 00027 ~StandardFilter(); 00028 00029 00034 bool next(Token* token); 00035 }; 00036 CL_NS_END2 00037 #endif