#ifndef __LUCENE_INDEX_FIELDS_READER__
#define __LUCENE_INDEX_FIELDS_READER__

#include <Foundation/Foundation.h>
#include "LCFieldInfos.h"

@class LCIndexInput;

@interface LCFieldsReader: NSObject
{
	LCFieldInfos *fieldInfos;
	LCIndexInput *fieldsStream;
	LCIndexInput *indexStream;
	int size;
}

- (id) initWithDirectory: (id <LCDirectory>) d
				 segment: (NSString *) segment
              fieldInfos: (LCFieldInfos *) fn;
- (void) close;
- (int) size;
- (LCDocument *) document: (int) n;

@end

#endif /* __LUCENE_INDEX_FIELDS_READER__ */


syntax highlighted by Code2HTML, v. 0.9.1