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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PositionIncrementAttribute.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 POSITIONINCREMENTATTRIBUTE_H
8 #define POSITIONINCREMENTATTRIBUTE_H
9 
10 #include "Attribute.h"
11 
12 namespace Lucene
13 {
32  class LPPAPI PositionIncrementAttribute : public Attribute
33  {
34  public:
36  virtual ~PositionIncrementAttribute();
37 
39 
40  protected:
41  int32_t positionIncrement;
42 
43  public:
44  virtual String toString();
45 
48  virtual void setPositionIncrement(int32_t positionIncrement);
49 
52  virtual int32_t getPositionIncrement();
53 
54  virtual void clear();
55  virtual bool equals(LuceneObjectPtr other);
56  virtual int32_t hashCode();
57  virtual void copyTo(AttributePtr target);
58  virtual LuceneObjectPtr clone(LuceneObjectPtr other = LuceneObjectPtr());
59  };
60 }
61 
62 #endif

clucene.sourceforge.net