| 1 | /*------------------------------------------------------------------------------ |
| 2 | * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team |
| 3 | * |
| 4 | * Distributable under the terms of either the Apache License (Version 2.0) or |
| 5 | * the GNU Lesser General Public License, as specified in the COPYING file. |
| 6 | ------------------------------------------------------------------------------*/ |
| 7 | #ifndef _lucene_search_WildcardTermEnum_ |
| 8 | #define _lucene_search_WildcardTermEnum_cxx . . $ `src/core/CLucene/search/WildcardTermEnum.h:8:9`! |
| 9 | |
| 10 | //#include "CLucene/index/IndexReader.h" |
| 11 | CL_CLASS_DEFcxx . . $ `src/shared/CLucene/SharedHeader.h:87:10`!(index,Term) |
| 12 | CL_CLASS_DEFcxx . . $ `src/shared/CLucene/SharedHeader.h:87:10`!(index,IndexReader) |
| 13 | //#include "CLucene/index/Terms.h" |
| 14 | #include "FilteredTermEnum.h"cxx . . $ `<file>/src/core/CLucene/search/FilteredTermEnum.h`/ |
| 15 | |
| 16 | CL_NS_DEFcxx . . $ lucene/search/(search) |
| 17 | /** |
| 18 | * Subclass of FilteredTermEnum for enumerating all terms that match the |
| 19 | * specified wildcard filter term-> |
| 20 | * <p> |
| 21 | * Term enumerations are always ordered by term->compareTo(). Each term in |
| 22 | * the enumeration is greater than all that precede it. |
| 23 | */ |
| 24 | class CLUCENE_EXPORTcxx . . $ `src/shared/CLucene/SharedHeader.h:141:10`! WildcardTermEnumcxx . . $ lucene/search/WildcardTermEnum#: public FilteredTermEnumcxx . . $ lucene/search/FilteredTermEnum# { |
| 25 | private: |
| 26 | CL_NScxx . . $ lucene/(index)::Termcxx . . $ lucene/index/Term#* __termcxx . . $ lucene/search/WildcardTermEnum#__term.; |
| 27 | TCHARcxx . . $ TCHAR#* precxx . . $ lucene/search/WildcardTermEnum#pre.; |
| 28 | int32_tcxx . . $ int32_t# preLencxx . . $ lucene/search/WildcardTermEnum#preLen.; |
| 29 | bool fieldMatchcxx . . $ lucene/search/WildcardTermEnum#fieldMatch.; |
| 30 | bool _endEnumcxx . . $ lucene/search/WildcardTermEnum#_endEnum.; |
| 31 | |
| 32 | /******************************************** |
| 33 | * const TCHAR* equality with support for wildcards |
| 34 | ********************************************/ |
| 35 | |
| 36 | protected: |
| 37 | bool termComparecxx . . $ lucene/search/WildcardTermEnum#termCompare(8214cb6dd503ec88).(CL_NScxx . . $ `src/shared/CLucene/SharedHeader.h:83:10`!(index)::Termcxx . . $ lucene/index/Term#* term) ; |
| 38 | |
| 39 | public: |
| 40 | |
| 41 | /** |
| 42 | * Creates a new <code>WildcardTermEnum</code>. Passing in a |
| 43 | * {@link Term Term} that does not contain a |
| 44 | * <code>LUCENE_WILDCARDTERMENUM_WILDCARD_STRING</code> or |
| 45 | * <code>LUCENE_WILDCARDTERMENUM_WILDCARD_CHAR</code> will cause an exception to be thrown. |
| 46 | */ |
| 47 | WildcardTermEnumcxx . . $ lucene/search/WildcardTermEnum#WildcardTermEnum(62e2c19b1437926d).(CL_NScxx . . $ lucene/(index)::IndexReadercxx . . $ lucene/index/IndexReader#* reader, CL_NScxx . . $ lucene/index/(index)::Termcxx . . $ lucene/index/Term#* term); |
| 48 | ~cxx . . $ lucene/search/WildcardTermEnum#`~WildcardTermEnum`(49f6e7a06ebc5aa8).WildcardTermEnumcxx . . $ lucene/search/WildcardTermEnum#(); |
| 49 | |
| 50 | float_t differencecxx . . $ lucene/search/WildcardTermEnum#difference(9b8c9e39889c762c).() ; |
| 51 | |
| 52 | bool endEnumcxx . . $ lucene/search/WildcardTermEnum#endEnum(c9857a73d68e59ba).() ; |
| 53 | |
| 54 | /** |
| 55 | * Determines if a word matches a wildcard pattern. |
| 56 | */ |
| 57 | static bool wildcardEqualscxx . . $ lucene/search/WildcardTermEnum#wildcardEquals(3635a2090d8aeae9).(const TCHARcxx . . $ TCHAR#* pattern, int32_tcxx . . $ int32_t# patternLen, int32_tcxx . . $ int32_t# patternIdx, const TCHARcxx . . $ TCHAR#* str, int32_tcxx . . $ int32_t# strLen, int32_tcxx . . $ int32_t# stringIdx); |
| 58 | |
| 59 | void closecxx . . $ lucene/search/WildcardTermEnum#close(49f6e7a06ebc5aa8).(); |
| 60 | |
| 61 | const char* getObjectNamecxx . . $ lucene/search/WildcardTermEnum#getObjectName(a9f41ea0e82d88cf).() const; |
| 62 | static const char* getClassNamecxx . . $ lucene/search/WildcardTermEnum#getClassName(33a1f659e94feb42).(); |
| 63 | }; |
| 64 | CL_NS_ENDcxx . . $ `src/shared/CLucene/SharedHeader.h:77:10`! |
| 65 | #endif |