![]() |
Maria GDK 5.0.0.737
Documentation of native code in develop branch
|
#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< Geometry > | getGeometry (int idx=0) |
void | setGenerationId (unsigned long generationId) |
unsigned long | getGenerationId () const |
int | getNumGeometries () const |
const BasicGeoTypes::GeoRect & | getBounds () |
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 |
Feature - Short description. Detailed description.