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 
2 // 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 FLAGSATTRIBUTE_H
8 #define FLAGSATTRIBUTE_H
9 
10 #include "Attribute.h"
11 
12 namespace Lucene {
13 
16 class LPPAPI FlagsAttribute : public Attribute {
17 public:
19  virtual ~FlagsAttribute();
20 
22 
23 protected:
24  int32_t flags;
25 
26 public:
27  virtual String toString();
28 
32  virtual int32_t getFlags();
33 
35  virtual void setFlags(int32_t flags);
36 
37  virtual void clear();
38 
39  virtual bool equals(const LuceneObjectPtr& other);
40  virtual int32_t hashCode();
41  virtual void copyTo(const AttributePtr& target);
42  virtual LuceneObjectPtr clone(const LuceneObjectPtr& other = LuceneObjectPtr());
43 };
44 
45 }
46 
47 #endif

clucene.sourceforge.net