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
Attribute.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 ATTRIBUTE_H
8 #define ATTRIBUTE_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene
13 {
18 class LPPAPI Attribute : public LuceneObject
19 {
20 public:
21 virtual ~Attribute();
22 LUCENE_CLASS(Attribute);
23
24 public:
27 virtual void clear() = 0;
28
39 virtual int32_t hashCode() = 0;
40
44 virtual bool equals(LuceneObjectPtr other) = 0;
45
48 virtual void copyTo(AttributePtr target) = 0;
49
52 virtual LuceneObjectPtr clone(LuceneObjectPtr other = LuceneObjectPtr()) = 0;
53 };
54 }
55
56 #endif

clucene.sourceforge.net