30 #ifndef OGR_ATTRIND_H_INCLUDED
31 #define OGR_ATTRIND_H_INCLUDED
43 class CPL_DLL OGRAttrIndex
49 virtual ~OGRAttrIndex();
54 int *nFIDCount,
int *nLength) = 0;
59 virtual OGRErr Clear() = 0;
69 class CPL_DLL OGRLayerAttrIndex
79 virtual ~OGRLayerAttrIndex();
81 virtual OGRErr Initialize(
const char *pszIndexPath,
OGRLayer *) = 0;
83 virtual OGRErr CreateIndex(
int iField) = 0;
84 virtual OGRErr DropIndex(
int iField) = 0;
85 virtual OGRErr IndexAllFeatures(
int iField = -1) = 0;
90 virtual OGRAttrIndex *GetFieldIndex(
int iField) = 0;
93 OGRLayerAttrIndex CPL_DLL *OGRCreateDefaultLayerIndex();
A simple feature, including geometry and attributes.
Definition: ogr_feature.h:893
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:74
#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:1042
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:215
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:387
Classes related to registration of format support, and opening datasets.
OGRFeature field attribute value union.
Definition: ogr_core.h:910