30 #ifndef OGR_ATTRIND_H_INCLUDED 31 #define OGR_ATTRIND_H_INCLUDED 43 class CPL_DLL OGRAttrIndex
49 virtual ~OGRAttrIndex();
58 virtual OGRErr Clear() = 0;
68 class CPL_DLL OGRLayerAttrIndex
78 virtual ~OGRLayerAttrIndex();
80 virtual OGRErr Initialize(
const char *pszIndexPath,
OGRLayer * ) = 0;
82 virtual OGRErr CreateIndex(
int iField ) = 0;
83 virtual OGRErr DropIndex(
int iField ) = 0;
84 virtual OGRErr IndexAllFeatures(
int iField = -1 ) = 0;
89 virtual OGRAttrIndex *GetFieldIndex(
int iField ) = 0;
92 OGRLayerAttrIndex CPL_DLL *OGRCreateDefaultLayerIndex();
Classes related to registration of format support, and opening datasets.
OGRFeature field attribute value union.
Definition: ogr_core.h:683
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:70
A simple feature, including geometry and attributes.
Definition: ogr_feature.h:354
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:248
int OGRErr
Simple container for a bounding region.
Definition: ogr_core.h:290
#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:989