30 #ifndef _OGR_ATTRIND_H_INCLUDED 31 #define _OGR_ATTRIND_H_INCLUDED 49 virtual long GetFirstMatch(
OGRField *psKey ) = 0;
50 virtual long *GetAllMatches(
OGRField *psKey ) = 0;
51 virtual long *GetAllMatches(
OGRField *psKey,
long* panFIDList,
int* nFIDCount,
int* nLength ) = 0;
53 virtual OGRErr AddEntry(
OGRField *psKey,
long nFID ) = 0;
54 virtual OGRErr RemoveEntry(
OGRField *psKey,
long nFID ) = 0;
56 virtual OGRErr Clear() = 0;
77 virtual OGRErr Initialize(
const char *pszIndexPath,
OGRLayer * ) = 0;
79 virtual OGRErr CreateIndex(
int iField ) = 0;
80 virtual OGRErr DropIndex(
int iField ) = 0;
81 virtual OGRErr IndexAllFeatures(
int iField = -1 ) = 0;
83 virtual OGRErr AddToIndex(
OGRFeature *poFeature,
int iField = -1 ) = 0;
84 virtual OGRErr RemoveFromIndex(
OGRFeature *poFeature ) = 0;
Definition: ogr_attrind.h:41
Definition: ogr_core.h:427
Definition: ogrsf_frmts.h:59
Definition: ogr_feature.h:232
Definition: ogr_attrind.h:66