ftp.nice.ch/pub/next/developer/languages/c/gcc.2.7.2.2.I.b.tar.gz#/lib/gcc-lib/i386-next-nextstep3/2.7.2.2.f.2/include/indexing/IXAttributeQuery.h

This is IXAttributeQuery.h in view mode; [Download] [Up]

/*
IXAttributeQuery.h
Copyright 1991, NeXT Computer, Inc.
*/

#import	<objc/Object.h>
#import	<objc/hashtable.h>

#import	"protocols.h"

@class IXAttributeParser;
@class IXPostingList;

/* This class performs query processing based on the NeXT IndexingKit query */
/* language, documented on- line and in print.  Classes that can be queried */
/* include IXAttributeParser, IXFileFinder, IXFileRecord, and IXRecordManager.*/

@interface IXAttributeQuery: Object
{
    NXZone		*_queryZone;
    id			_queryBinder;
    BOOL		_freeBinder;
    NXHashTable		*_objectTable;
    NXHashTable		*_opaqueTable;
    NXHashTable		*_namingTable;
    struct TermRecord	*_queryParse;
    struct TermRecord	*_queryStack;
    id			attributeParser;
    id			queryContext;
    unsigned char	*queryString;
}

/* the parser processes text enclosed by the parse operator.*/
- initQueryString:(const char *)string 
    andAttributeParser:(IXAttributeParser *)aParser;

/* evaluates the query string against an object that has attribute bindings.*/
/* first, we request the attribute binder.  if nil, we request the bindings.*/
- (IXPostingList *)evaluateFor:(id <IXAttributeBinding>)anObject;

- (char *)attributeNames; /* a new line separated list; caller must free.*/
- (IXAttributeParser *)attributeParser; /* the one used by the parse operator.*/
- (const char *)queryString; /* returns the query string used to initialize.*/

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.