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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FlagsAttribute.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 FLAGSATTRIBUTE_H
8 #define FLAGSATTRIBUTE_H
9 
10 #include "Attribute.h"
11 
12 namespace Lucene
13 {
16  class LPPAPI FlagsAttribute : public Attribute
17  {
18  public:
20  virtual ~FlagsAttribute();
21 
23 
24  protected:
25  int32_t flags;
26 
27  public:
28  virtual String toString();
29 
33  virtual int32_t getFlags();
34 
36  virtual void setFlags(int32_t flags);
37 
38  virtual void clear();
39 
40  virtual bool equals(LuceneObjectPtr other);
41  virtual int32_t hashCode();
42  virtual void copyTo(AttributePtr target);
43  virtual LuceneObjectPtr clone(LuceneObjectPtr other = LuceneObjectPtr());
44  };
45 }
46 
47 #endif

clucene.sourceforge.net