Lucene++ - a full-featured, c++ search engine
API Documentation

DocFieldConsumerPerField.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6
7 #ifndef DOCFIELDCONSUMERPERFIELD_H
8 #define DOCFIELDCONSUMERPERFIELD_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene {
13
14 class DocFieldConsumerPerField : public LuceneObject {
15 public:
16 virtual ~DocFieldConsumerPerField();
17
18 LUCENE_CLASS(DocFieldConsumerPerField);
19
20 public:
22 virtual void processFields(Collection<FieldablePtr> fields, int32_t count) = 0;
23
24 virtual void abort() = 0;
25 };
26
27 }
28
29 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::Collection< FieldablePtr >
Lucene::DocFieldConsumerPerField
Definition: DocFieldConsumerPerField.h:14
Lucene::DocFieldConsumerPerField::~DocFieldConsumerPerField
virtual ~DocFieldConsumerPerField()
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::DocFieldConsumerPerField::abort
virtual void abort()=0
Lucene::DocFieldConsumerPerField::processFields
virtual void processFields(Collection< FieldablePtr > fields, int32_t count)=0
Processes all occurrences of a single field.
LuceneObject.h

clucene.sourceforge.net