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

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DocFieldConsumersPerThread.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 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 DOCFIELDCONSUMERSPERTHREAD_H
8 #define DOCFIELDCONSUMERSPERTHREAD_H
9
10 #include "DocFieldConsumerPerThread.h"
11
12 namespace Lucene
13 {
14 class DocFieldConsumersPerThread : public DocFieldConsumerPerThread
15 {
16 public:
17 DocFieldConsumersPerThread(DocFieldProcessorPerThreadPtr docFieldProcessorPerThread, DocFieldConsumersPtr parent,
18 DocFieldConsumerPerThreadPtr one, DocFieldConsumerPerThreadPtr two);
19 virtual ~DocFieldConsumersPerThread();
20
21 LUCENE_CLASS(DocFieldConsumersPerThread);
22
23 public:
24 DocFieldConsumerPerThreadPtr one;
25 DocFieldConsumerPerThreadPtr two;
26 DocFieldConsumersWeakPtr _parent;
27 DocStatePtr docState;
28
29 public:
30 virtual void startDocument();
31 virtual void abort();
32 virtual DocWriterPtr finishDocument();
33 virtual DocFieldConsumerPerFieldPtr addField(FieldInfoPtr fi);
34 };
35 }
36
37 #endif

clucene.sourceforge.net