14#ifndef OGR_ATTRIND_H_INCLUDED
15#define OGR_ATTRIND_H_INCLUDED
27class CPL_DLL OGRAttrIndex
33 virtual ~OGRAttrIndex();
38 int *nFIDCount,
int *nLength) = 0;
43 virtual OGRErr Clear() = 0;
53class CPL_DLL OGRLayerAttrIndex
63 virtual ~OGRLayerAttrIndex();
65 virtual OGRErr Initialize(
const char *pszIndexPath,
OGRLayer *) = 0;
67 virtual OGRErr CreateIndex(
int iField) = 0;
68 virtual OGRErr DropIndex(
int iField) = 0;
69 virtual OGRErr IndexAllFeatures(
int iField = -1) = 0;
74 virtual OGRAttrIndex *GetFieldIndex(
int iField) = 0;
77OGRLayerAttrIndex CPL_DLL *OGRCreateDefaultLayerIndex();
A simple feature, including geometry and attributes.
Definition: ogr_feature.h:877
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:58
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Helper to remove the copy and assignment constructors so that the compiler will not generate the defa...
Definition: cpl_port.h:1030
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:199
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:371
Classes related to registration of format support, and opening datasets.
OGRFeature field attribute value union.
Definition: ogr_core.h:905