27 #include "../datatype/Enums.h" 33 std::string* defaultValue,
36 : SimpleProperty(name,
te::
dt::
GEOMETRY_TYPE, isRequired, defaultValue, id, parent),
46 std::string* defaultValue,
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
~GeometryProperty()
Destructor.
te::dt::Property * clone() const
It returns a clone of the object.
It models a property definition.
An Envelope defines a 2D rectangular region.
GeomType m_geomType
The geometry type.
static te::dt::TimeDuration dt(20, 30, 50, 11)
bool isRequired() const
It returns true if the attribute is required, otherwise it returns false.
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.
int m_srid
The SRS associated to the property.
SimpleProperty(const std::string &name, int datatype, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, Property *parent=0)
It constructs a new simple property.