41 #ifndef __OPENFLUID_CORE_GEOVECTORVALUE_HPP__
42 #define __OPENFLUID_CORE_GEOVECTORVALUE_HPP__
45 #include <gdal_priv.h>
46 #include <ogrsf_frmts.h>
116 OGRLayer*
layer(
unsigned int LayerIndex = 0);
124 OGRFeatureDefn*
layerDef(
unsigned int LayerIndex = 0);
157 bool containsField(
const std::string& FieldName,
unsigned int LayerIndex = 0);
166 int getFieldIndex(
const std::string& FieldName,
unsigned int LayerIndex = 0);
178 unsigned int LayerIndex = 0);
#define GDALDataset_COMPAT
Definition: GDALCompatibility.hpp:69
Definition: GeoValue.hpp:56
Definition: GeoVectorValue.hpp:57
bool isPointType(unsigned int LayerIndex=0)
virtual ~GeoVectorValue()
bool isMultiPointType(unsigned int LayerIndex=0)
bool isPolygonType(unsigned int LayerIndex=0)
int getFieldIndex(const std::string &FieldName, unsigned int LayerIndex=0)
bool containsField(const std::string &FieldName, unsigned int LayerIndex=0)
GDALDataset_COMPAT * data()
OGRLayer * layer(unsigned int LayerIndex=0)
void tryToOpenSource() override
GeoVectorValue(const std::string &FilePath, const std::string &FileName)
bool isFieldOfType(const std::string &FieldName, OGRFieldType FieldType, unsigned int LayerIndex=0)
openfluid::core::UnstructuredValue::UnstructuredType getType() const override
bool isLineType(unsigned int LayerIndex=0)
OGRFeatureDefn * layerDef(unsigned int LayerIndex=0)
bool isMultiLineType(unsigned int LayerIndex=0)
OGRwkbGeometryType getGeometryType(unsigned int LayerIndex=0)
bool isMultiPolygonType(unsigned int LayerIndex=0)
GDALDataset_COMPAT * mp_Data
Definition: GeoVectorValue.hpp:64
UnstructuredType
Definition: UnstructuredValue.hpp:58
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47