An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver. More...
#include <DataSetItem.h>
Public Member Functions | |
| std::unique_ptr< DataSetItem > | clone () const |
| It returns a clone of the DataSetItem. More... | |
| DataSetItem (const te::da::DataSet *parent) | |
| It creates a new item having the same schema as the parent dataset. More... | |
| DataSetItem (const std::size_t &nproperties) | |
| It creates a new item having the given number of properties. More... | |
| DataSetItem (const DataSetItem &rhs) | |
| It creates a new item by cloning the values in the source item (rhs). More... | |
| bool | getBool (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::unique_ptr< te::dt::ByteArray > | getByteArray (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| char | getChar (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::unique_ptr< te::dt::DateTime > | getDateTime (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| double | getDouble (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| float | getFloat (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::unique_ptr< te::gm::Geometry > | getGeometry (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| boost::int16_t | getInt16 (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| boost::int32_t | getInt32 (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| boost::int64_t | getInt64 (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::string | getNumeric (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::size_t | getNumProperties () const |
| It returns the number of properties. More... | |
| te::da::DataSet * | getParent () const |
| It returns its parent. More... | |
| int | getPropertyDataType (std::size_t pos) const |
| It returns the type of the pos-th property. More... | |
| std::string | getPropertyName (std::size_t pos) const |
| It returns the name of the pos-th property. More... | |
| std::unique_ptr< te::rst::Raster > | getRaster (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::string | getString (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| unsigned char | getUChar (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| std::unique_ptr< te::dt::AbstractData > | getValue (std::size_t i) const |
| It returns the value of the i-th property. More... | |
| bool | isNull (std::size_t i) const |
| DataSetItem & | operator= (const DataSetItem &rhs) |
| Assignment operator. More... | |
| void | setBool (std::size_t i, bool value) |
| It sets the value of the i-th property. More... | |
| void | setBool (const std::string &name, bool value) |
| It sets the value of the property, indicating its name. More... | |
| void | setByteArray (std::size_t i, te::dt::ByteArray *value) |
| It sets the value of the i-th property. More... | |
| void | setByteArray (const std::string &name, te::dt::ByteArray *value) |
| It sets the value of the property, indicating its name. More... | |
| void | setChar (std::size_t i, char value) |
| It sets the value of the i-th property. More... | |
| void | setChar (const std::string &name, char value) |
| It sets the value of the property, indicating its name. More... | |
| void | setDateTime (std::size_t i, te::dt::DateTime *value) |
| It sets the value of the i-th property. More... | |
| void | setDateTime (const std::string &name, te::dt::DateTime *value) |
| It sets the value of the property, indicating its name. More... | |
| void | setDouble (std::size_t i, double value) |
| It sets the value of the i-th property. More... | |
| void | setDouble (const std::string &name, double value) |
| It sets the value of the property, indicating its name. More... | |
| void | setFloat (std::size_t i, float value) |
| It sets the value of the i-th property. More... | |
| void | setFloat (const std::string &name, float value) |
| It sets the value of the property, indicating its name. More... | |
| void | setGeometry (std::size_t i, te::gm::Geometry *value) |
| It sets the value of the i-th property. More... | |
| void | setGeometry (const std::string &name, te::gm::Geometry *value) |
| It sets the value of the property, indicating its name. More... | |
| void | setInt16 (std::size_t i, boost::int16_t value) |
| It sets the value of the i-th property. More... | |
| void | setInt16 (const std::string &name, boost::int16_t value) |
| It sets the value of the property, indicating its name. More... | |
| void | setInt32 (std::size_t i, boost::int32_t value) |
| It sets the value of the i-th property. More... | |
| void | setInt32 (const std::string &name, boost::int32_t value) |
| It sets the value of the property, indicating its name. More... | |
| void | setInt64 (std::size_t i, boost::int64_t value) |
| It sets the value of the i-th property. More... | |
| void | setInt64 (const std::string &name, boost::int64_t value) |
| It sets the value of the property, indicating its name. More... | |
| void | setNumeric (std::size_t i, const std::string &value) |
| It sets the value of the i-th property. More... | |
| void | setNumeric (const std::string &name, const std::string &value) |
| It sets the value of the property, indicating its name. More... | |
| void | setRaster (std::size_t i, te::rst::Raster *value) |
| It sets the value of the i-th property. More... | |
| void | setRaster (const std::string &name, te::rst::Raster *value) |
| It sets the value of the property, indicating its name. More... | |
| void | setString (std::size_t i, const std::string &value) |
| It sets the value of the i-th property. More... | |
| void | setString (const std::string &name, const std::string &value) |
| It sets the value of the property, indicating its name. More... | |
| void | setUChar (std::size_t i, unsigned char value) |
| It sets the value of the i-th property. More... | |
| void | setUChar (const std::string &name, unsigned char value) |
| It sets the value of the property, indicating its name. More... | |
| void | setValue (std::size_t i, te::dt::AbstractData *value) |
| It sets the value of the i-th property. More... | |
| void | setValue (const std::string &name, te::dt::AbstractData *value) |
| It sets the value of the property, indicating its name. More... | |
| virtual | ~DataSetItem () |
| Destructor. More... | |
Protected Attributes | |
| boost::ptr_vector< boost::nullable< te::dt::AbstractData > > | m_data |
| The data values of the dataset item. More... | |
| const te::da::DataSet * | m_parent |
| The parent dataset, if the item is associated to one. More... | |
Friends | |
| class | DataSet |
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
Definition at line 52 of file memory/DataSetItem.h.
|
explicit |
It creates a new item having the same schema as the parent dataset.
| parent | The dataset to which this item is associated. |
Definition at line 46 of file memory/DataSetItem.cpp.
References te::da::DataSet::getNumProperties(), and m_data.
Referenced by clone().
|
explicit |
It creates a new item having the given number of properties.
| nproperties | The number of properties. |
Definition at line 57 of file memory/DataSetItem.cpp.
References m_data.
|
explicit |
It creates a new item by cloning the values in the source item (rhs).
| rhs | The right-hand-side object to copy its values. |
Definition at line 63 of file memory/DataSetItem.cpp.
References getNumProperties(), getValue(), isNull(), and m_data.
|
virtual |
| std::unique_ptr< te::mem::DataSetItem > te::mem::DataSetItem::clone | ( | ) | const |
It returns a clone of the DataSetItem.
Definition at line 95 of file memory/DataSetItem.cpp.
References DataSetItem().
Referenced by te::mem::DataSet::getItem().
| bool te::mem::DataSetItem::getBool | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 200 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| std::unique_ptr< te::dt::ByteArray > te::mem::DataSetItem::getByteArray | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 280 of file memory/DataSetItem.cpp.
References m_data.
Referenced by getValue().
| char te::mem::DataSetItem::getChar | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 120 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| std::unique_ptr< te::dt::DateTime > te::mem::DataSetItem::getDateTime | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 328 of file memory/DataSetItem.cpp.
References m_data.
Referenced by getValue().
| double te::mem::DataSetItem::getDouble | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 232 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| float te::mem::DataSetItem::getFloat | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 216 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| std::unique_ptr< te::gm::Geometry > te::mem::DataSetItem::getGeometry | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 296 of file memory/DataSetItem.cpp.
References m_data.
Referenced by getValue().
| boost::int16_t te::mem::DataSetItem::getInt16 | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 152 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| boost::int32_t te::mem::DataSetItem::getInt32 | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 168 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| boost::int64_t te::mem::DataSetItem::getInt64 | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 184 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| std::string te::mem::DataSetItem::getNumeric | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 248 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| std::size_t te::mem::DataSetItem::getNumProperties | ( | ) | const |
It returns the number of properties.
Definition at line 105 of file memory/DataSetItem.cpp.
References te::da::DataSet::getNumProperties(), and m_parent.
Referenced by DataSetItem(), te::vp::GetFilledItemMemory(), operator=(), te::vp::LineToPolygonMemory::run(), and te::vp::PolygonToLineMemory::run().
| te::da::DataSet * te::mem::DataSetItem::getParent | ( | ) | const |
It returns its parent.
Definition at line 100 of file memory/DataSetItem.cpp.
References m_parent.
| int te::mem::DataSetItem::getPropertyDataType | ( | std::size_t | pos | ) | const |
It returns the type of the pos-th property.
Definition at line 110 of file memory/DataSetItem.cpp.
References te::da::DataSet::getPropertyDataType(), and m_parent.
Referenced by getValue(), te::vp::PolygonToLineMemory::run(), te::vp::LineToPolygonMemory::run(), and te::vp::BufferMemory::run().
| std::string te::mem::DataSetItem::getPropertyName | ( | std::size_t | pos | ) | const |
It returns the name of the pos-th property.
Definition at line 115 of file memory/DataSetItem.cpp.
References te::da::DataSet::getPropertyName(), and m_parent.
Referenced by te::vp::LineToPolygonMemory::run(), te::vp::PolygonToLineMemory::run(), and te::attributefill::RasterToVector::run().
| std::unique_ptr< te::rst::Raster > te::mem::DataSetItem::getRaster | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 312 of file memory/DataSetItem.cpp.
References m_data.
Referenced by getValue().
| std::string te::mem::DataSetItem::getString | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 264 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| unsigned char te::mem::DataSetItem::getUChar | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 136 of file memory/DataSetItem.cpp.
References getValue(), and m_data.
Referenced by getValue().
| std::unique_ptr< te::dt::AbstractData > te::mem::DataSetItem::getValue | ( | std::size_t | i | ) | const |
It returns the value of the i-th property.
Definition at line 344 of file memory/DataSetItem.cpp.
References te::dt::BOOLEAN_TYPE, te::dt::BYTE_ARRAY_TYPE, te::dt::CHAR_TYPE, te::dt::DATETIME_TYPE, te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::GEOMETRY_TYPE, getBool(), getByteArray(), getChar(), getDateTime(), getDouble(), getFloat(), getGeometry(), getInt16(), getInt32(), getInt64(), getNumeric(), getPropertyDataType(), getRaster(), getString(), getUChar(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::dt::NUMERIC_TYPE, te::dt::RASTER_TYPE, te::dt::STRING_TYPE, te::dt::UCHAR_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by DataSetItem(), getBool(), getChar(), getDouble(), getFloat(), getInt16(), getInt32(), getInt64(), getNumeric(), getString(), and getUChar().
| bool te::mem::DataSetItem::isNull | ( | std::size_t | i | ) | const |
Definition at line 415 of file memory/DataSetItem.cpp.
References m_data.
Referenced by DataSetItem(), and te::vp::IntersectionMemory::pairwiseIntersection().
| te::mem::DataSetItem & te::mem::DataSetItem::operator= | ( | const DataSetItem & | rhs | ) |
Assignment operator.
It copies the values from the rhs item.
| rhs | The right-hand-side ibject to copy its values. |
Definition at line 82 of file memory/DataSetItem.cpp.
References getNumProperties(), m_data, and m_parent.
| void te::mem::DataSetItem::setBool | ( | std::size_t | i, |
| bool | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 205 of file memory/DataSetItem.cpp.
References m_data.
Referenced by setBool(), and terralib4::TableDataSet::TableDataSet().
| void te::mem::DataSetItem::setBool | ( | const std::string & | name, |
| bool | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 210 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setBool().
| void te::mem::DataSetItem::setByteArray | ( | std::size_t | i, |
| te::dt::ByteArray * | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 285 of file memory/DataSetItem.cpp.
References m_data.
Referenced by setByteArray(), and terralib4::TableDataSet::TableDataSet().
| void te::mem::DataSetItem::setByteArray | ( | const std::string & | name, |
| te::dt::ByteArray * | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 290 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setByteArray().
| void te::mem::DataSetItem::setChar | ( | std::size_t | i, |
| char | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 125 of file memory/DataSetItem.cpp.
References m_data.
Referenced by setChar(), and terralib4::TableDataSet::TableDataSet().
| void te::mem::DataSetItem::setChar | ( | const std::string & | name, |
| char | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 130 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setChar().
| void te::mem::DataSetItem::setDateTime | ( | std::size_t | i, |
| te::dt::DateTime * | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 333 of file memory/DataSetItem.cpp.
References m_data.
Referenced by create_ds_memory(), CreatingDataSetInMemory(), CreatingDataSetInMemoryGivingDt(), setDateTime(), and terralib4::TableDataSet::TableDataSet().
| void te::mem::DataSetItem::setDateTime | ( | const std::string & | name, |
| te::dt::DateTime * | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 338 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setDateTime().
| void te::mem::DataSetItem::setDouble | ( | std::size_t | i, |
| double | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 237 of file memory/DataSetItem.cpp.
References m_data.
Referenced by BOOST_AUTO_TEST_SUITE(), te::qt::widgets::VectorizationWizard::createDataSet(), te::sa::BayesLocalOperation::createDataSet(), te::sa::BayesGlobalOperation::createDataSet(), te::qt::widgets::SegmenterAdvancedOptionsWizardPage::createDataSet(), te::sa::KernelOperation::createDataSet(), te::vp::BufferMemory::dissolveMemory(), te::qt::widgets::exportChart(), te::vp::BufferQuery::prepareDataSet(), te::vp::BufferMemory::run(), te::attributefill::RasterToVector::run(), te::attributefill::VectorToVectorMemory::run(), te::mnt::SaveIso(), GAP::SavePol(), te::mnt::Tin::SaveTin(), saveToShp(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), setDouble(), te::vp::GeometricOpQuery::SetOutputDSet(), and terralib4::TableDataSet::TableDataSet().
| void te::mem::DataSetItem::setDouble | ( | const std::string & | name, |
| double | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 242 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setDouble().
| void te::mem::DataSetItem::setFloat | ( | std::size_t | i, |
| float | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 221 of file memory/DataSetItem.cpp.
References m_data.
Referenced by setFloat().
| void te::mem::DataSetItem::setFloat | ( | const std::string & | name, |
| float | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 226 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setFloat().
| void te::mem::DataSetItem::setGeometry | ( | std::size_t | i, |
| te::gm::Geometry * | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 301 of file memory/DataSetItem.cpp.
References m_data.
Referenced by te::cellspace::CellularSpacesOperations::addCell(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE(), Copy2DiskShp(), create_ds_memory(), te::qt::widgets::VectorizationWizard::createDataSet(), te::qt::widgets::RasterizationWizard::createDataSet(), te::qt::widgets::SegmenterAdvancedOptionsWizardPage::createDataSet(), te::qt::widgets::CloudDetectionDialog::createDataSet(), CreatingDataSetInMemory(), CreatingDataSetInMemoryGivingDt(), te::vp::BufferMemory::dissolveMemory(), te::vp::Merge::executeMemory(), te::sa::SamplePointsGeneratorRandom::generateSamples(), te::sa::SamplePointsGeneratorStratified::generateSamples(), te::cl::ROISet::getDataSet(), te::vp::MakeGeometryValid::makeValidMemory(), te::qt::plugins::edit::ToolBar::onSaveActivated(), te::vp::IntersectionMemory::pairwiseIntersection(), te::vp::BufferQuery::prepareDataSet(), te::vp::LineToPolygonMemory::run(), te::vp::PolygonToLineMemory::run(), te::vp::BufferMemory::run(), te::vp::MultipartToSinglepart::runAll(), te::vp::MultipartToSinglepart::runSelected(), te::mnt::SaveIso(), GAP::SavePol(), te::mnt::Tin::SaveTin(), saveToShp(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetOutputDSet(), te::qt::plugins::terramobile::GeoPackageSynchronizer::synchronize(), te::vp::Dissolve::threadUnion(), te::vp::IntersectionQuery::updateGeomType(), and te::vp::Intersection::updateGeomType().
| void te::mem::DataSetItem::setGeometry | ( | const std::string & | name, |
| te::gm::Geometry * | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 306 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setGeometry().
Referenced by setGeometry().
| void te::mem::DataSetItem::setInt16 | ( | std::size_t | i, |
| boost::int16_t | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 157 of file memory/DataSetItem.cpp.
References m_data.
Referenced by te::vp::Merge::executeMemory(), te::vp::GeometricOpMemory::SetAggregByAttribute(), setInt16(), and te::vp::GeometricOpQuery::SetOutputDSet().
| void te::mem::DataSetItem::setInt16 | ( | const std::string & | name, |
| boost::int16_t | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 162 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setInt16().
| void te::mem::DataSetItem::setInt32 | ( | std::size_t | i, |
| boost::int32_t | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 173 of file memory/DataSetItem.cpp.
References m_data.
Referenced by te::cellspace::CellularSpacesOperations::addCell(), te::graph::DataSourceGraphMetadata::addGraphTableNewEntry(), BOOST_AUTO_TEST_CASE(), create_ds_memory(), te::qt::widgets::VectorizationWizard::createDataSet(), te::qt::widgets::RasterizationWizard::createDataSet(), te::sa::SkaterOperation::createDataSet(), te::qt::widgets::SegmenterAdvancedOptionsWizardPage::createDataSet(), te::sa::GeneralizedProximityMatrix::createDataSet(), te::qt::widgets::CloudDetectionDialog::createDataSet(), CreatingDataSetInMemory(), CreatingDataSetInMemoryGivingDt(), te::vp::BufferMemory::dissolveMemory(), te::vp::Merge::executeMemory(), te::qt::widgets::exportChart(), te::sa::SamplePointsGeneratorRandom::generateSamples(), te::sa::SamplePointsGeneratorStratified::generateSamples(), te::vp::IntersectionMemory::pairwiseIntersection(), te::vp::BufferQuery::prepareDataSet(), te::vp::BufferMemory::run(), te::attributefill::VectorToVectorMemory::run(), te::vp::MultipartToSinglepart::runAll(), te::vp::MultipartToSinglepart::runSelected(), te::graph::DataSourceGraphMetadata::saveGraphAttrTableNewEntry(), te::graph::AbstractGraphLoaderStrategy::saveGraphEdgeList(), te::mnt::SaveIso(), GAP::SavePol(), te::mnt::Tin::SaveTin(), te::graph::AbstractGraphLoaderStrategy::saveVertexAttributes(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetOutputDSet(), terralib4::TableDataSet::TableDataSet(), te::vp::IntersectionQuery::updateGeomType(), and te::vp::Intersection::updateGeomType().
| void te::mem::DataSetItem::setInt32 | ( | const std::string & | name, |
| boost::int32_t | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 178 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setInt32().
Referenced by setInt32().
| void te::mem::DataSetItem::setInt64 | ( | std::size_t | i, |
| boost::int64_t | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 189 of file memory/DataSetItem.cpp.
References m_data.
Referenced by te::vp::Merge::executeMemory(), te::vp::BufferQuery::prepareDataSet(), te::vp::BufferMemory::run(), te::vp::GeometricOpMemory::SetAggregByAttribute(), setInt64(), and te::vp::GeometricOpQuery::SetOutputDSet().
| void te::mem::DataSetItem::setInt64 | ( | const std::string & | name, |
| boost::int64_t | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 194 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setInt64().
| void te::mem::DataSetItem::setNumeric | ( | std::size_t | i, |
| const std::string & | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 253 of file memory/DataSetItem.cpp.
References m_data.
Referenced by create_ds_memory(), CreatingDataSetInMemory(), CreatingDataSetInMemoryGivingDt(), te::vp::BufferQuery::prepareDataSet(), and setNumeric().
| void te::mem::DataSetItem::setNumeric | ( | const std::string & | name, |
| const std::string & | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 258 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setNumeric().
| void te::mem::DataSetItem::setRaster | ( | std::size_t | i, |
| te::rst::Raster * | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 317 of file memory/DataSetItem.cpp.
References m_data.
Referenced by setRaster().
| void te::mem::DataSetItem::setRaster | ( | const std::string & | name, |
| te::rst::Raster * | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 322 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setRaster().
| void te::mem::DataSetItem::setString | ( | std::size_t | i, |
| const std::string & | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 269 of file memory/DataSetItem.cpp.
References m_data.
Referenced by te::cellspace::CellularSpacesOperations::addCell(), te::graph::DataSourceGraphMetadata::addGraphTableNewEntry(), create_ds_memory(), te::qt::widgets::exportChart(), te::sa::SamplePointsGeneratorStratified::generateSamples(), te::cl::ROISet::getDataSet(), te::vp::BufferQuery::prepareDataSet(), te::vp::BufferMemory::run(), te::attributefill::RasterToVector::run(), te::attributefill::VectorToVectorMemory::run(), te::graph::DataSourceGraphMetadata::saveGraphAttrTableNewEntry(), te::mnt::SaveIso(), GAP::SavePol(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetOutputDSet(), setString(), and terralib4::TableDataSet::TableDataSet().
| void te::mem::DataSetItem::setString | ( | const std::string & | name, |
| const std::string & | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 274 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setString().
| void te::mem::DataSetItem::setUChar | ( | std::size_t | i, |
| unsigned char | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 141 of file memory/DataSetItem.cpp.
References m_data.
Referenced by setUChar().
| void te::mem::DataSetItem::setUChar | ( | const std::string & | name, |
| unsigned char | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 146 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setUChar().
| void te::mem::DataSetItem::setValue | ( | std::size_t | i, |
| te::dt::AbstractData * | value | ||
| ) |
It sets the value of the i-th property.
Definition at line 404 of file memory/DataSetItem.cpp.
References m_data.
Referenced by te::sa::SkaterOperation::createDataSet(), te::sa::BayesGlobalOperation::createDataSet(), te::sa::BayesLocalOperation::createDataSet(), te::sa::KernelOperation::createDataSet(), te::sa::GeneralizedProximityMatrix::createDataSet(), te::vp::Merge::executeMemory(), te::qt::plugins::terramobile::fillExtraColumns(), Editor::getEditedDataSet(), te::vp::GetFilledItemMemory(), te::vp::GroupThreadManager::getNextGroup(), te::qt::plugins::edit::ToolBar::onSaveActivated(), te::vp::IntersectionMemory::pairwiseIntersection(), te::vp::LineToPolygonMemory::run(), te::vp::PolygonToLineMemory::run(), te::attributefill::RasterToVector::run(), te::addressgeocoding::AddressGeocodingOp::run(), te::attributefill::VectorToVectorMemory::run(), te::vp::MultipartToSinglepart::runAll(), te::vp::MultipartToSinglepart::runSelected(), te::graph::AbstractGraphLoaderStrategy::saveGraphEdgeList(), te::graph::AbstractGraphLoaderStrategy::saveVertexAttributes(), te::vp::GeometricOpMemory::SetAllObjects(), setValue(), te::qt::plugins::terramobile::GeoPackageSynchronizer::synchronize(), te::vp::IntersectionQuery::updateGeomType(), and te::vp::Intersection::updateGeomType().
| void te::mem::DataSetItem::setValue | ( | const std::string & | name, |
| te::dt::AbstractData * | value | ||
| ) |
It sets the value of the property, indicating its name.
Definition at line 409 of file memory/DataSetItem.cpp.
References te::da::GetPropertyPos(), m_parent, and setValue().
|
friend |
Definition at line 373 of file memory/DataSetItem.h.
|
protected |
The data values of the dataset item.
Definition at line 372 of file memory/DataSetItem.h.
Referenced by DataSetItem(), getBool(), getByteArray(), getChar(), getDateTime(), getDouble(), getFloat(), getGeometry(), getInt16(), getInt32(), getInt64(), getNumeric(), getRaster(), getString(), getUChar(), isNull(), operator=(), setBool(), setByteArray(), setChar(), setDateTime(), setDouble(), setFloat(), setGeometry(), setInt16(), setInt32(), setInt64(), setNumeric(), setRaster(), setString(), setUChar(), setValue(), and ~DataSetItem().
|
protected |
The parent dataset, if the item is associated to one.
Definition at line 371 of file memory/DataSetItem.h.
Referenced by getNumProperties(), getParent(), getPropertyDataType(), getPropertyName(), operator=(), setBool(), setByteArray(), setChar(), setDateTime(), setDouble(), setFloat(), setGeometry(), setInt16(), setInt32(), setInt64(), setNumeric(), setRaster(), setString(), setUChar(), and setValue().