26#ifndef __TERRALIB_MEMORY_INTERNAL_DATASETITEM_H
27#define __TERRALIB_MEMORY_INTERNAL_DATASETITEM_H
58 explicit DataSetItem(
const std::vector<std::string>& vecNames,
const std::vector<int>& vecTypes);
115 void setChar(
const std::string& name,
char value);
125 void setUChar(
const std::string& name,
unsigned char value);
130 void setInt16(std::size_t i, boost::int16_t value);
135 void setInt16(
const std::string& name, boost::int16_t value);
140 void setInt32(std::size_t i, boost::int32_t value);
145 void setInt32(
const std::string& name, boost::int32_t value);
150 void setInt64(std::size_t i, boost::int64_t value);
155 void setInt64(
const std::string& name, boost::int64_t value);
165 void setBool(
const std::string& name,
bool value);
176 void setFloat(
const std::string& name,
float value);
196 void setNumeric(
const std::string& name,
const std::string& value);
201 void setString(std::size_t i,
const std::string& value);
206 void setString(
const std::string& name,
const std::string& value);
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
A class that models the description of a dataset.
A dataset is the unit of information manipulated by the data access module of TerraLib.
A base class for values that can be retrieved from the data access module.
The type for variable-length multidimensional arrays.
A class for representing binary data.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
void setNumeric(std::size_t i, const std::string &value)
It sets the value of the i-th property.
void setFloat(std::size_t i, float value)
It sets the value of the i-th property.
void setUChar(const std::string &name, unsigned char value)
It sets the value of the property, indicating its name.
virtual ~DataSetItem()
Destructor.
DataSetItem(const std::vector< std::string > &vecNames, const std::vector< int > &vecTypes)
void setGeometry(const std::string &name, te::gm::Geometry *value)
It sets the value of the property, indicating its name.
void setRaster(std::size_t i, te::rst::Raster *value)
It sets the value of the i-th property.
void setValue(std::size_t i, te::dt::AbstractData *value)
It sets the value of the i-th property.
void setNumeric(const std::string &name, const std::string &value)
It sets the value of the property, indicating its name.
void setInt64(const std::string &name, boost::int64_t value)
It sets the value of the property, indicating its name.
void setUChar(std::size_t i, unsigned char value)
It sets the value of the i-th property.
void copyValuesFrom(const te::da::DataSetItem *source, bool copyGeometries=true)
Copies the values from the source dataSet item to the destination dataSet item by matching the column...
void setDateTime(std::size_t i, te::dt::DateTime *value)
It sets the value of the i-th property.
void setChar(std::size_t i, char value)
It sets the value of the i-th property.
DataSetItem & operator=(const DataSetItem &rhs)
Assignment operator.
void setInt64(std::size_t i, boost::int64_t value)
It sets the value of the i-th property.
void setString(std::size_t i, const std::string &value)
It sets the value of the i-th property.
void setValue(const std::string &name, te::dt::AbstractData *value)
It sets the value of the property, indicating its name.
void setChar(const std::string &name, char value)
It sets the value of the property, indicating its name.
void setInt16(const std::string &name, boost::int16_t value)
It sets the value of the property, indicating its name.
void setInt32(std::size_t i, boost::int32_t value)
It sets the value of the i-th property.
void setDouble(const std::string &name, double value)
It sets the value of the property, indicating its name.
void setString(const std::string &name, const std::string &value)
It sets the value of the property, indicating its name.
void setFloat(const std::string &name, float value)
It sets the value of the property, indicating its name.
void setInt32(const std::string &name, boost::int32_t value)
It sets the value of the property, indicating its name.
void setByteArray(std::size_t i, te::dt::ByteArray *value)
It sets the value of the i-th property.
void setInt16(std::size_t i, boost::int16_t value)
It sets the value of the i-th property.
void setRaster(const std::string &name, te::rst::Raster *value)
It sets the value of the property, indicating its name.
void setDateTime(const std::string &name, te::dt::DateTime *value)
It sets the value of the property, indicating its name.
void setByteArray(const std::string &name, te::dt::ByteArray *value)
It sets the value of the property, indicating its name.
DataSetItem(const te::da::DataSet *dataSet)
It creates a new item having the same schema as the parent dataset.
DataSetItem(const te::da::DataSetType *dataSetType)
It creates a new item having the same schema as the dataset type.
void setDouble(std::size_t i, double value)
It sets the value of the i-th property.
void setBool(std::size_t i, bool value)
It sets the value of the i-th property.
DataSetItem(const DataSetItem &rhs)
It creates a new item by cloning the values in the source item (rhs).
virtual te::da::DataSetItem * clone() const override
It returns a clone of the DataSetItem.
void setGeometry(std::size_t i, te::gm::Geometry *value)
It sets the value of the i-th property.
void setBool(const std::string &name, bool value)
It sets the value of the property, indicating its name.
An abstract class for raster data strucutures.
Namespace for the DataAccess API of TerraLib.
Namespace for the Data Type module of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
Namespace for the memory data source of TerraLib.
Namespace for the Raster module of TerraLib.
Configuration flags for the TerraLib In-memory Data Access driver.
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.