Go to the documentation of this file.
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,
186 #endif // __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYPROPERTY_H
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.
GeomType m_geomType
The geometry type.
int m_srid
The SRS associated to the property.
GeometryProperty(const GeometryProperty &rhs)
Copy constructor.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
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.
Enumerations of XML module.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.
void setGeometryType(GeomType t)
It sets the geometry subtype.
GeometryProperty & operator=(const GeometryProperty &rhs)
Assignment operator not allowed.
An atomic property like an integer or double.
~GeometryProperty()
Destructor.
It models a property definition.
Proxy configuration file for TerraView (see terraview_config.h).
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
te::dt::Property * clone() const
It returns a clone of the object.
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.