1/*
2 * Copyright 2011, Jérôme Duval, korli@users.berlios.de.
3 * This file may be used under the terms of the MIT License.
4 */
5#ifndef ATTRIBUTEITERATOR_H
6#define ATTRIBUTEITERATOR_H
7
8
9#include "BPlusTree.h"
10#include "Inode.h"
11
12
13class AttributeIterator {
14public:
15								AttributeIterator(Inode* inode);
16								~AttributeIterator();
17
18			status_t			InitCheck();
19
20			status_t			GetNext(char* name, size_t* _nameLength);
21			status_t			Rewind();
22private:
23			uint64				fOffset;
24			Inode* 				fInode;
25			TreeIterator*		fIterator;
26};
27
28
29#endif	// ATTRIBUTEITERATOR_H
30