26#ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYPROPERTY_H
27#define __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYPROPERTY_H
30#include "../datatype/SimpleProperty.h"
82 bool isRequired =
false,
83 std::string* defaultValue = 0,
105 bool isRequired =
false,
106 std::string* defaultValue = 0,
It models a property definition.
An atomic property like an integer or double.
GeometryProperty(const std::string &name, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new GeometryProperty.
te::dt::Property * clone() const
It returns a clone of the object.
GeometryProperty(const GeometryProperty &rhs)
Copy constructor.
int getSRID() const
It returns the spatial reference system identifier associated to this property.
GeomType getGeometryType() const
It returns the geometry subtype allowed for the property.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.
~GeometryProperty()
Destructor.
int m_srid
The SRS associated to the property.
GeometryProperty & operator=(const GeometryProperty &rhs)
Assignment operator not allowed.
GeomType m_geomType
The geometry type.
GeometryProperty(const std::string &name, int srid, te::gm::GeomType subtype, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new GeometryProperty.
void setGeometryType(GeomType t)
It sets the geometry subtype.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).
Enumerations of XML module.