41 std::string namepk = datasettypename+
"_pk";
This file contains include headers for the Data Type module of TerraLib.
void setAutoNumber(bool a)
It tells if the property is an autonumber or not.
void add(te::dt::Property *p)
It adds a property to the list of properties of the primary key.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.
An atomic property like an integer or double.
A class that models the description of a dataset.
te::da::DataSetType * CreateDataSetTypeInMemory(const std::string &datasettypename)
void add(te::dt::Property *p)
It adds the property to the list of properties of the index.
A class that describes a check constraint.
The type for arbitrary precison numbers, like numeric(p, q).
Examples on how to access/manipulate DataSources in TerraLib.
static te::dt::TimeDuration dt(20, 30, 50, 11)
void add(Constraint *c)
It adds a new constraint.
It describes a primary key (pk) constraint.
void setExpression(const std::string &e)
It sets the check constraint expression.
The type for date and time types: date, date period, date duration, time duration, time instant, time period, time instant with time zone or time period with time zone.
This file contains include headers for the Vector Geometry model of TerraLib.
This file contains include headers for the Data Access module of TerraLib.
It describes an index associated to a DataSetType.