2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef ATTRIBUTE_INDEXER_H
6 #define ATTRIBUTE_INDEXER_H
9 #include <SupportDefs.h>
15 struct AttributeIndexTreeValue
;
16 class IndexedAttributeOwner
;
19 class AttributeIndexer
{
21 AttributeIndexer(AttributeIndex
* index
);
24 status_t
CreateCookie(IndexedAttributeOwner
* owner
,
25 void* attributeCookie
, uint32 attributeType
,
26 size_t attributeSize
, void*& _data
,
30 AttributeIndexTreeValue
* Cookie() const
33 const String
& IndexName() const
34 { return fIndexName
; }
37 AttributeIndex
* fIndex
;
38 const String
& fIndexName
;
40 AttributeIndexTreeValue
* fCookie
;
44 #endif // ATTRIBUTE_INDEX_H