40 #ifndef __OPENFLUID_CORE_GEOVECTORVALUE_HPP__ 41 #define __OPENFLUID_CORE_GEOVECTORVALUE_HPP__ 44 #include <gdal_priv.h> 45 #include <ogrsf_frmts.h> 69 void tryToOpenSource();
74 void destroyDataSource();
87 GeoVectorValue(
const std::string& FilePath,
const std::string& FileName);
113 OGRLayer* layer(
unsigned int LayerIndex = 0);
121 OGRFeatureDefn* layerDef(
unsigned int LayerIndex = 0);
129 bool isLineType(
unsigned int LayerIndex = 0);
137 bool isPolygonType(
unsigned int LayerIndex = 0);
146 bool containsField(
const std::string& FieldName,
unsigned int LayerIndex = 0);
155 int getFieldIndex(
const std::string& FieldName,
unsigned int LayerIndex = 0);
166 bool isFieldOfType(
const std::string& FieldName, OGRFieldType FieldType,
167 unsigned int LayerIndex = 0);
175 bool isPointType(
unsigned int LayerIndex = 0);
183 bool isMultiPolygonType(
unsigned int LayerIndex = 0);
191 bool isMultiLineType(
unsigned int LayerIndex = 0);
199 bool isMultiPointType(
unsigned int LayerIndex = 0);
Definition: GeoValue.hpp:52
#define OPENFLUID_API
Definition: dllexport.hpp:87
Definition: GeoVectorValue.hpp:55
#define GDALDataset_COMPAT
Definition: GDALCompatibility.hpp:72
UnstructuredType
Definition: UnstructuredValue.hpp:53
GDALDataset_COMPAT * mp_Data
Definition: GeoVectorValue.hpp:63
Definition: ApplicationException.hpp:47