Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::Feature Class Reference

#include <MFeature.h>

Public Member Functions

const std::string getFieldValue (const std::string &key) const
 
bool hasFieldValue (const std::string &key) const
 
void setFieldValue (const std::string &key, const std::string &value)
 
const std::map< std::string, std::string > & getFields () const
 
void addGeometry (std::shared_ptr< Geometry > geo)
 
std::shared_ptr< GeometrygetGeometry (int idx=0)
 
void setGenerationId (unsigned long generationId)
 
unsigned long getGenerationId () const
 
int getNumGeometries () const
 
const BasicGeoTypes::GeoRectgetBounds ()
 
void setGeometries (std::vector< std::shared_ptr< Geometry > > &geometries)
 

Protected Member Functions

void updateBounds ()
 

Protected Attributes

std::map< std::string, std::string > _fields
 
std::vector< std::shared_ptr< Geometry > > _geometries
 
unsigned long _generationId = 0
 
BasicGeoTypes::GeoRect _bounds
 
bool _boundsDirty = false
 

Detailed Description

Feature - Short description. Detailed description.


The documentation for this class was generated from the following file: