Geometric property. More...
#include <GeometryProperty.h>
Public Member Functions | |
| const std::string & | getDatasetName () const |
| It returns the name of the propery's dataset. More... | |
| std::string * | getDefaultValue () const |
| It returns the default value associated to the property, or NULL if none is associated. More... | |
| unsigned int | getId () const |
| It returns the property identifier. More... | |
| const std::string & | getName () const |
| It returns the property name. More... | |
| Property * | getParent () const |
| It returns the parent of this property, or NULL, if it doesn't have one. More... | |
| int | getType () const |
| It returns the property data type. More... | |
| bool | has (Property *p) const |
| It checks if the Property "p" is associated to this property or any other parent. More... | |
| bool | isAutoNumber () const |
| It returns true if the attribute is an autonumber, otherwise it returns false. More... | |
| bool | isRequired () const |
| It returns true if the attribute is required, otherwise it returns false. More... | |
| void | setAutoNumber (bool a) |
| It tells if the property is an autonumber or not. More... | |
| void | setDatasetName (const std::string &dsName) |
| It sets the property name. More... | |
| void | setDefaultValue (std::string *d) |
| It sets the default value associated to the property, or NULL if none is associated. More... | |
| void | setId (unsigned int id) |
| It sets the property identifier. More... | |
| void | setName (const std::string &name) |
| It sets the property name. More... | |
| void | setParent (Property *p) |
| It associate this property to the informed parent. More... | |
| void | setRequired (bool r) |
| It tells if the property is required or not. More... | |
Basic Methods | |
Basic methods on a GeometryProperty. | |
| 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. More... | |
| 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. More... | |
| GeometryProperty (const GeometryProperty &rhs) | |
| Copy constructor. More... | |
| ~GeometryProperty () | |
| Destructor. More... | |
| int | getSRID () const |
| It returns the spatial reference system identifier associated to this property. More... | |
| void | setSRID (int srid) |
| It sets the spatial reference system identifier associated to this property. More... | |
| GeomType | getGeometryType () const |
| It returns the geometry subtype allowed for the property. More... | |
| void | setGeometryType (GeomType t) |
| It sets the geometry subtype. More... | |
Implementation From Superclass Property | |
Methods re-implemented from the superclass Property. | |
| te::dt::Property * | clone () const |
| It returns a clone of the object. More... | |
Protected Attributes | |
| std::string | m_datasetName |
| The property's dataset name. More... | |
| std::string * | m_defaultValue |
| Default value. More... | |
| GeomType | m_geomType |
| The geometry type. More... | |
| unsigned int | m_id |
| An identification number that can be used internally. More... | |
| bool | m_isAutoNumber |
| A flag that indicates if this is an autonumber or serial type. More... | |
| bool | m_isRequired |
| This flag indicates if the attribute is required or not. More... | |
| std::string | m_name |
| The property name. More... | |
| Property * | m_parent |
| The parent property type: it must be a CompositeProperty. More... | |
| int | m_srid |
| The SRS associated to the property. More... | |
| int | m_type |
| The property data type. More... | |
Private Member Functions | |
| GeometryProperty & | operator= (const GeometryProperty &rhs) |
| Assignment operator not allowed. More... | |
| te::gm::GeometryProperty::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.
This constructor will set:
| name | The geometric property name. |
| isRequired | Tells if the the property is required (mandatory) or not. |
| defaultValue | The default value to be used if none is informed. |
| id | The property identifier. |
| parent | A reference to the parent Property of the new object if it has one. |
Definition at line 31 of file geometry/GeometryProperty.cpp.
Referenced by clone(), and GeometryProperty().
| te::gm::GeometryProperty::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.
| name | The geometric property name. |
| srid | The SRS of the geometries. |
| t | The subtype of geometries. |
| isRequired | Indicates if the property is required (mandatory) or not. |
| defaultValue | The default value to be used, if none is informed. |
| id | The property identifier. |
| parent | A reference to the parent Property of the new object if it has one. |
Definition at line 42 of file geometry/GeometryProperty.cpp.
References GeometryProperty(), and ~GeometryProperty().
|
default |
Copy constructor.
| rhs | The right-hand-side copy that would be used to copy from. |
|
default |
Destructor.
Referenced by GeometryProperty().
|
virtual |
It returns a clone of the object.
The new property will NOT have associations to other elements.
Reimplemented from te::dt::SimpleProperty.
Definition at line 61 of file geometry/GeometryProperty.cpp.
References GeometryProperty().
Referenced by te::da::AssociateDataSetTypeConverterSRID(), te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::vp::BufferOp::GetDataSetType(), and te::qt::widgets::SHP2PostGISDialog::onOkPushButtonClicked().
|
inlineinherited |
It returns the name of the propery's dataset.
Definition at line 144 of file Property.h.
Referenced by te::da::GetOIDDatasetProps().
|
inlineinherited |
It returns the default value associated to the property, or NULL if none is associated.
Definition at line 127 of file SimpleProperty.h.
Referenced by te::pgis::SetColumnDef(), TsPropertyTypes::tcArrayProperty(), TsPropertyTypes::tcBitProperty(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsPropertyTypes::tcNumericProperty(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), TsPropertyTypes::tcSimpleProperty(), and TsPropertyTypes::tcStringProperty().
|
inline |
It returns the geometry subtype allowed for the property.
Definition at line 139 of file GeometryProperty.h.
Referenced by te::sqlite::DataSourceTransactor::addProperty(), te::pgis::Transactor::addProperty(), te::edit::Convert2LayerGeomType(), te::gpkg::Convert2OGR(), te::ogr::Convert2OGR(), te::sqlite::DataSourceTransactor::createDataSet(), DataSetAdapterLayerWriter(), te::qt::widgets::DataSetDisplay::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), DrawPNG(), te::qt::plugins::edit::ToolBar::enableActionsByGeomType(), te::vp::Union::executeMemory(), te::vp::Identity::executeMemory(), te::vp::Difference::executeQuery(), te::qt::plugins::terralib4::TL4ConverterWizard::finish(), generateLayer(), te::attributefill::VectorToVectorDialog::getCurrentToLayerGeomType(), te::vp::GeometricOp::GetDataSetType(), te::qt::widgets::ClassifierWizardPage::getInputParams(), te::mnt::getMNTType(), te::vp::MultipartToSinglepart::getOutDst(), te::vp::Union::getOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::GetOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::vp::Difference::getOutputDataSetType(), te::sqlite::GetSQLType(), te::ado::Transactor::insertIntoGeometryColumns(), te::vp::MakeGeometryValid::makeValidQuery(), MapDisplay(), te::qt::plugins::rp::RasterizationAction::onActionActivated(), te::qt::widgets::QueryDialog::onCreateLayerPushButtonClicked(), te::sa::KernelMapDialog::onInputLayerComboBoxActivated(), te::sa::KernelRatioDialog::onInputLayerComboBoxActivated(), te::vp::GeometricOpDialog::onLayerComboBoxChanged(), te::qt::af::BaseApplication::onLayerRemoveTriggered(), te::qt::widgets::DataPropertiesDialog::onOkPushButtonClicked(), te::vp::BufferDialog::onRuleOutToggled(), te::qt::plugins::tv::TimeViewerDockWidget::onSliderChanged(), te::attributefill::RasterToVectorDialog::onVectorComboBoxChanged(), te::qt::widgets::DataSet2Layer::operator()(), te::vp::IntersectionMemory::pairwiseIntersection(), te::attributefill::VectorToVectorDialog::setFunctionsByLayer(), te::qt::widgets::StyleControllerWidget::setLayer(), te::qt::plugins::terramobile::GeoPackageBuilderWizard::setLayerList(), te::addressgeocoding::ConfigInputLayerDialog::setLayers(), te::vp::PolygonToLineDialog::setLayers(), te::vp::LineToPolygonDialog::setLayers(), te::attributefill::RasterToVectorDialog::setLayers(), te::qt::widgets::LayerPropertiesInfo::setLayerVecProperties(), te::qt::plugins::tv::TimeViewerDockWidget::setupLayer(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsCanvas::tcPerformance(), te::vp::Dissolve::threadUnion(), and te::edit::MoveGeometryTool::updateCursor().
|
inlineinherited |
It returns the property identifier.
Definition at line 109 of file Property.h.
Referenced by te::da::DataSetTypeConverter::DataSetTypeConverter(), te::pgis::Transactor::getConstraints(), te::pgis::Transactor::getIndexes(), te::dt::CompositeProperty::getPropertyById(), te::pgis::Transactor::getPropertyId(), te::serialize::xml::Save(), TsPropertyTypes::tcArrayProperty(), TsPropertyTypes::tcBitProperty(), TsPropertyTypes::tcCompositeProperty(), TsDataSetType::tcCreateDataSetTypeAndChecks(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsPropertyTypes::tcNumericProperty(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), TsPropertyTypes::tcSimpleProperty(), and TsPropertyTypes::tcStringProperty().
|
inlineinherited |
It returns the property name.
Definition at line 127 of file Property.h.
Referenced by MainWindow::addDataSetLayer(), te::graph::AddDeepAttribute::AddDeepAttribute(), te::graph::DataSourceGraphMetadata::addEdgeProperty(), te::ado::Transactor::addForeignKey(), te::pgis::Transactor::addForeignKey(), te::sa::AddGraphEdgeAttribute(), te::sa::AddGraphVertexAttribute(), te::ado::Transactor::addPrimaryKey(), te::mem::DataSource::addProperty(), te::ogr::Transactor::addProperty(), te::gpkg::Transactor::addProperty(), te::sqlite::DataSourceTransactor::addProperty(), te::ado::Transactor::addProperty(), terralib4::Transactor::addProperty(), te::pgis::Transactor::addProperty(), te::graph::AddRasterAttribute::AddRasterAttribute(), te::da::DataSourceCatalog::addRef(), te::pgis::Transactor::addSequence(), te::ado::Transactor::addUniqueKey(), te::graph::DataSourceGraphMetadata::addVertexProperty(), te::da::AssociateDataSetTypeConverterSRID(), te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::LineToPolygonOp::buildOutDataSetType(), te::sa::KernelRatioOperation::buildTree(), te::sa::KernelMapOperation::buildTree(), te::qt::widgets::DataSetTableView::changeColumnData(), te::da::DataSourceCatalog::checkFKsDependency(), te::da::DataSourceCatalog::checkSequenceDependency(), te::qt::plugins::terralib4::TL4ConverterWizard::commit(), te::qt::widgets::ConstraintWidget::ConstraintWidget(), te::gpkg::Convert2OGR(), te::ogr::Convert2OGR(), te::sqlite::Convert2SQLCreate(), CopyingData(), te::da::Create(), te::da::CreateAdapter(), te::mem::DataSource::createDataSet(), te::gdal::Transactor::createDataSet(), te::ogr::Transactor::createDataSet(), te::gpkg::Transactor::createDataSet(), te::sqlite::DataSourceTransactor::createDataSet(), te::ado::Transactor::createDataSet(), te::pgis::Transactor::createDataSet(), te::sa::GeneralizedProximityMatrix::createDataSetType(), te::qt::widgets::PropertyItem::data(), DataSetAdapterLayerReader(), DataSetAdapterLayerWriter(), te::qt::widgets::DataSetOptionsWizardPage::datasetPressed(), te::da::DataSetType::DataSetType(), te::da::DataSetTypeConverter::DataSetTypeConverter(), DataSetTypePersistence(), te::qt::widgets::DataSetDisplay::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::DrawGeometries(), te::map::DrawRaster(), te::da::DataSourceCatalog::dropDependentSequenceEntry(), te::da::DataSourceCatalog::dropDependentSequences(), te::ado::Transactor::dropProperty(), te::qt::widgets::DataExchangerWizard::exchange(), te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::qt::widgets::DirectExchangerDialog::exchangeToFile(), te::vp::Union::executeMemory(), te::vp::Identity::executeMemory(), te::vp::Difference::executeMemory(), te::vp::Intersection::executeMemory(), te::vp::Merge::executeMemory(), te::vp::Difference::executeQuery(), te::vp::Intersection::executeQuery(), te::vp::Dissolve::executeQuery(), te::qt::widgets::Selection::executeSelection(), te::edit::DeleteGeometryByAreaTool::executeSelection(), exportVectortoGPKG(), te::qt::widgets::DataSetAdapterWidget::fillDataSetTable(), generateLayer(), te::da::DataSetType::getCheckConstraint(), te::ado::Transactor::getCheckConstraints(), te::pgis::Transactor::getConstraints(), terralib4::Transactor::getDataSetType(), te::sa::GPMWeightsAbstractStrategy::getDistanceAttributeIndex(), te::da::GetEmptyOIDSet(), te::graph::BoxIterator::getFirstEdge(), te::graph::BoxIterator::getFirstVertex(), te::da::DataSetType::getForeignKey(), te::sqlite::DataSourceCatalogLoader::getGeometryInfo(), te::pgis::Transactor::getGeometryInfo(), te::qt::widgets::DataSetItem::getGeomPropertyName(), te::sa::GeneralizedProximityMatrix::getGPMPropertyMap(), te::sa::GetGraphEdgeAttrIndex(), te::sa::GetGraphVertexAttrIndex(), te::sqlite::DataSourceCatalogLoader::getIndex(), te::da::DataSetType::getIndex(), te::sqlite::DataSourceCatalogLoader::getIndexes(), te::ado::Transactor::getIndexes(), te::pgis::Transactor::getIndexes(), te::qt::widgets::DefaultFeatureInfoMaker::getInfo(), te::qt::widgets::ClassifierWizardPage::getInputParams(), te::qt::widgets::ClippingWizardPage::getLayerClipping(), te::qt::widgets::ClippingWizardPage::getLayerClippingAttribute(), te::da::DataSetTypeConverter::getNonConvertedProperties(), te::st::ObservationDataSet::getObservation(), te::vp::Union::getOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::attributefill::VectorToVectorMemory::getOutputDataSetType(), te::vp::IntersectionOp::getOutputDsType(), te::vp::MergeDialog::getPossibleAttributesComboBox(), te::mnt::Profile::getPrepareRaster(), te::mnt::CreateIsolines::getPrepareRaster(), te::sqlite::DataSourceCatalogLoader::getPrimaryKey(), te::ado::Transactor::getPrimaryKey(), te::qt::widgets::TableLinkDialog::getProperties(), te::ado::Transactor::getProperties(), te::dt::CompositeProperty::getProperty(), te::pgis::Transactor::getPropertyId(), te::da::GetPropertyInfo(), te::sqlite::FwDataSet::getPropertyName(), te::ogr::DataSet::getPropertyName(), te::gpkg::DataSet::getPropertyName(), te::attributefill::VectorToVectorMemory::getPropertyName(), te::stmem::Transactor::getPropertyNames(), te::da::GetPropertyPos(), te::dt::CompositeProperty::getPropertyPosition(), te::qt::widgets::CloudDetectionDialog::getRasterFromROI(), te::qt::widgets::ColorTransformDialog::getRasterFromROI(), te::pgis::Transactor::getRasterInfo(), te::map::QueryLayer::getSchema(), te::sqlite::DataSourceCatalogLoader::getSpatialIndexes(), te::da::GetSQLValueNames(), te::sqlite::DataSourceCatalogLoader::getUniqueKey(), te::da::DataSetType::getUniqueKey(), te::sqlite::DataSourceCatalogLoader::getUniqueKeys(), te::ado::Transactor::getUniqueKeys(), te::da::DataSourceCatalog::indexFKs(), te::da::DataSourceCatalog::indexSequenceDependency(), te::qt::widgets::IndexWidget::IndexWidget(), te::ado::Transactor::insertIntoGeometryColumns(), te::vp::IntersectionOp::isSelectedProperty(), te::qt::plugins::tv::TimeViewerEditLegendDialog::listAtrributes(), te::qt::widgets::ChartLayerWidget::listAttributes(), te::qt::widgets::RasterizationWizardPage::listAttributes(), te::qt::widgets::GroupingWidget::listAttributes(), te::qt::widgets::CreateLayerWidget::listProperties(), te::graph::BoxLoaderStrategy::loadDataByEdgeId(), te::graph::BoxLoaderStrategy::loadDataByVertexId(), te::da::LoadFull(), te::da::LoadProperties(), te::vp::MakeGeometryValid::makeValidMemory(), te::vp::MakeGeometryValid::makeValidQuery(), MapDisplay(), SelectionTool::mouseReleaseEvent(), te::qt::widgets::QueryDataSourceDialog::onCreateLayerToolButtonClicked(), te::qt::widgets::GroupingWidget::onImportPushButtonClicked(), te::mnt::ProfileDialog::onInputComboBoxChanged(), te::qt::widgets::SHP2PostGISDialog::onOkPushButtonClicked(), te::qt::widgets::DataPropertiesDialog::onOkPushButtonClicked(), te::attributefill::RasterToVectorDialog::onRasterComboBoxChanged(), te::qt::widgets::CloudDetectionDialog::onSearchShadowLayerToolButtonClicked(), te::qt::plugins::tv::TimeViewerDockWidget::onSliderChanged(), te::qt::widgets::DataSet2Layer::operator()(), te::vp::PopulateItems(), PostGISExample(), te::vp::PrepareAdd(), te::da::DataSourceCatalog::remove(), te::graph::DataSourceGraphMetadata::removeEdgeProperty(), te::da::DataSourceCatalog::removeRef(), te::graph::DataSourceGraphMetadata::removeVertexProperty(), te::da::DataSourceCatalog::rename(), te::qt::widgets::DataSetTableView::retypeColumn(), te::qt::widgets::ColorTransformDialog::rgb2hlsRComboBoxActivated(), te::qt::widgets::ColorTransformDialog::rgbRComboBoxActivated(), te::mnt::Slope::run(), te::mnt::Shadow::run(), te::mnt::Volume::run(), te::vp::LineToPolygonMemory::run(), te::vp::PolygonToLineMemory::run(), te::vp::BufferQuery::run(), te::attributefill::VectorToRaster::run(), te::attributefill::RasterToVector::run(), te::addressgeocoding::AddressGeocodingOp::run(), te::attributefill::VectorToVectorMemory::run(), te::qt::widgets::SaveSelectedObjectsWidget::save(), te::vp::Save(), te::serialize::xml::Save(), te::attributefill::RasterToVector::save(), GAP::Save(), te::qt::widgets::DataSetOptionsWizardPage::set(), te::qt::widgets::PropertyConverterDialog::set(), te::vp::GeometricOpQuery::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetAggregObj(), te::vp::GeometricOpQuery::SetAllObjects(), te::attributefill::VectorToVectorDialog::setFunctionsByLayer(), te::qt::widgets::LayerPropertiesInfo::setLayerVecProperties(), te::qt::plugins::tv::TimeViewerDockWidget::setupLayer(), te::qt::plugins::tv::TimeViewerDockWidget::setupLayerInt(), terralib4::TableDataSet::TableDataSet(), TsPropertyTypes::tcArrayProperty(), TsPropertyTypes::tcBitProperty(), TsPropertyTypes::tcCompositeProperty(), TsDataSetType::tcCreateDataSetTypeAndChecks(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcDateTimeProperty(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsDataSourceTransactor::tcGetDataSetByEnvRec(), TsDataSource::tcGetDataSetByEnvRec(), TsDataSourceTransactor::tcGetDataSetByEnvRec1(), TsDataSource::tcGetDataSetByEnvRec1(), TsDataSourceTransactor::tcGetDataSetByEnvRec2(), TsDataSource::tcGetDataSetByEnvRec2(), TsDataSourceTransactor::tcGetDataSetByGeometry(), TsDataSource::tcGetDataSetByGeometry(), TsDataSourceTransactor::tcGetDataSetByProperty(), TsDataSource::tcGetDataSetByProperty(), TsPropertyTypes::tcNumericProperty(), TsCanvas::tcPerformance(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), TsPropertyTypes::tcSimpleProperty(), TsPropertyTypes::tcStringProperty(), te::vp::Dissolve::threadUnion(), te::vp::Merge::tryGetMax(), and te::vp::Merge::updateInputDst().
|
inlineinherited |
It returns the parent of this property, or NULL, if it doesn't have one.
Definition at line 168 of file Property.h.
Referenced by te::dt::CompositeProperty::add(), te::pgis::Transactor::addSequence(), te::da::DataSourceCatalog::checkSequenceDependency(), te::sqlite::Convert2SQLCreate(), te::da::DataSourceCatalog::dropDependentSequenceEntry(), te::da::DataSourceCatalog::dropDependentSequences(), te::ado::Transactor::dropProperty(), te::pgis::Transactor::getPropertyId(), te::da::DataSourceCatalog::indexSequenceDependency(), TsPropertyTypes::tcBitProperty(), TsPropertyTypes::tcCompositeProperty(), TsDataSetType::tcCreateDataSetTypeAndChecks(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsPropertyTypes::tcNumericProperty(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), TsPropertyTypes::tcSimpleProperty(), and TsPropertyTypes::tcStringProperty().
|
inline |
It returns the spatial reference system identifier associated to this property.
Definition at line 125 of file GeometryProperty.h.
Referenced by te::sqlite::DataSourceTransactor::addProperty(), te::pgis::Transactor::addProperty(), te::sa::SpatialWeightsExchanger::associateGeometry(), BufferOGRToOGR(), BufferOGRToPGIS(), BufferPGISToOGR(), BufferPGISToPGIS(), te::graph::LDDGraphBuilder::build(), te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::LineToPolygonOp::buildOutDataSetType(), te::sa::KernelOperation::buildRaster(), te::ogr::Transactor::createDataSet(), te::gpkg::Transactor::createDataSet(), te::sqlite::DataSourceTransactor::createDataSet(), te::sa::GPMConstructorAbstractStrategy::createVertexObjects(), DataSetAdapterLayerReader(), DataSetAdapterLayerWriter(), te::qt::widgets::DataSetOptionsWizardPage::datasetPressed(), te::vp::Identity::executeMemory(), te::vp::Difference::executeMemory(), te::vp::Merge::executeMemory(), generateLayer(), te::pgis::Transactor::getDataSet(), te::vp::GeometricOp::GetDataSetType(), te::vp::GetDataStructFromLayer(), te::vp::Union::getOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::vp::Difference::getOutputDataSetType(), te::addressgeocoding::AddressGeocodingOp::getOutputDataSetType(), te::vp::IntersectionOp::getOutputDsType(), te::qt::widgets::QueryLayerBuilderWizard::getProperties(), te::vp::LineToPolygonQuery::getSelectQueryClosedLines(), te::vp::LineToPolygonQuery::getSelectQueryForceCloseLines(), te::vp::GetSelectQueryFromLayer(), te::ado::Transactor::insertIntoGeometryColumns(), te::qt::widgets::QueryDialog::onCreateLayerPushButtonClicked(), te::sa::SamplePointsGeneratorDialog::onOkPushButtonClicked(), te::qt::widgets::DataPropertiesDialog::onOkPushButtonClicked(), te::vp::DifferenceDialog::onOkPushButtonClicked(), te::qt::widgets::DataSet2Layer::operator()(), te::vp::IntersectionMemory::pairwiseIntersection(), te::vp::BufferQuery::run(), te::vp::BufferMemory::run(), te::attributefill::VectorToRaster::run(), te::attributefill::RasterToVector::run(), te::vp::GeometricOpQuery::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpQuery::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetAllObjects(), te::qt::widgets::LayerPropertiesInfo::setLayerVecProperties(), te::qt::plugins::tv::TimeViewerDockWidget::setupLayer(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), and TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign().
|
inlineinherited |
It returns the property data type.
Definition at line 161 of file Property.h.
Referenced by te::ado::Transactor::addForeignKey(), te::ado::Transactor::addPrimaryKey(), te::mem::DataSource::addProperty(), te::ogr::Transactor::addProperty(), te::gpkg::Transactor::addProperty(), te::sqlite::DataSourceTransactor::addProperty(), te::ado::Transactor::addProperty(), terralib4::Transactor::addProperty(), te::pgis::Transactor::addProperty(), te::ado::Transactor::addUniqueKey(), te::qt::widgets::DataSetTableView::changeColumnData(), te::ogr::Transactor::changePropertyDefinition(), te::gpkg::Transactor::changePropertyDefinition(), te::graph::LayerRenderer::checkEdgeGeometryProperty(), te::da::DataSourceCatalog::checkSequenceDependency(), te::vp::Merge::checkStrategy(), te::graph::LayerRenderer::checkVertexGeometryProperty(), te::qt::plugins::terralib4::TL4ConverterWizard::commit(), te::gpkg::Convert2OGR(), te::ogr::Convert2OGR(), te::da::CreateAdapter(), te::sqlite::DataSourceTransactor::createDataSet(), te::graph::DataSourceGraphMetadata::createGraphTableEdgeModel(), te::graph::DataSourceGraphMetadata::createVertexAttrTable(), te::qt::widgets::PropertyItem::data(), te::da::DataSetTypeConverter::DataSetTypeConverter(), te::da::DataSourceCatalog::dropDependentSequenceEntry(), te::da::DataSourceCatalog::dropDependentSequences(), te::ado::Transactor::dropProperty(), te::qt::widgets::DataSetCategoryItem::fetchMore(), te::qt::widgets::DataSetAdapterWidget::fillDataSetTable(), te::sqlite::DataSourceCatalogLoader::getDataSetType(), te::da::GetEmptyOIDSet(), te::qt::widgets::WhereClauseWidget::getExpression(), te::graph::BoxIterator::getFirstEdge(), te::da::GetFirstSpatialProperty(), te::graph::BoxIterator::getFirstVertex(), te::vp::MultipartToSinglepart::getOutDst(), te::attributefill::VectorToVectorMemory::getOutputDataSetType(), te::vp::MergeDialog::getPossibleAttributesComboBox(), te::pgis::Transactor::getProperties(), te::pgis::Transactor::getProperty(), te::sqlite::FwDataSet::getPropertyDataType(), terralib4::VectorDataSet::getPropertyDataType(), terralib4::TableDataSet::getPropertyDataType(), te::gpkg::DataSet::getPropertyDataType(), te::ogr::DataSet::getPropertyDataType(), te::pgis::Transactor::getPropertyId(), te::da::GetPropertyInfo(), te::vp::Merge::getPropertyType(), te::sqlite::DataSourceCatalogLoader::getSpatialIndexes(), te::sqlite::GetSQLType(), te::pgis::GetSQLValue(), te::vp::IntersectionOp::getTabularProps(), te::da::DataSourceCatalog::indexSequenceDependency(), te::qt::plugins::tv::TimeViewerEditLegendDialog::listAtrributes(), te::qt::widgets::ChartLayerWidget::listAttributes(), te::qt::widgets::RasterizationWizardPage::listAttributes(), te::qt::widgets::GroupingWidget::listAttributes(), te::qt::widgets::CreateLayerWidget::listProperties(), te::graph::BoxLoaderStrategy::loadDataByEdgeId(), te::graph::BoxLoaderStrategy::loadDataByVertexId(), te::vp::MakeGeometryValid::makeValidMemory(), te::da::DataSetTypeConverter::needConverter(), te::qt::widgets::GroupingWidget::onImportPushButtonClicked(), te::vp::PopulateItems(), te::qt::widgets::DataSetTableView::retypeColumn(), te::attributefill::VectorToVectorMemory::run(), te::graph::DataSourceGraphMetadata::saveProperty(), te::qt::widgets::PropertyConverterDialog::set(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::pgis::SetColumnDef(), te::da::DataSetTypeConverter::setEncodingType(), te::attributefill::VectorToVectorDialog::setFunctionsByLayer(), te::qt::widgets::RasterSymbolizerWidget::setLayer(), te::qt::widgets::LayerPropertiesInfo::setLayerVecProperties(), TsPropertyTypes::tcArrayProperty(), TsPropertyTypes::tcBitProperty(), TsDataSetType::tcCreateDataSetTypeAndChecks(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcDateTimeProperty(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsPropertyTypes::tcNumericProperty(), TsCanvas::tcPerformance(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), TsPropertyTypes::tcSimpleProperty(), and TsPropertyTypes::tcStringProperty().
It checks if the Property "p" is associated to this property or any other parent.
This method can be used to ask if a given Property belongs to a more complex type (like: CompositeProperty or DataSetType).
| p | The Property we are checking. |
Implements te::dt::Property.
Definition at line 80 of file datatype/SimpleProperty.cpp.
|
inlineinherited |
It returns true if the attribute is an autonumber, otherwise it returns false.
Definition at line 111 of file SimpleProperty.h.
Referenced by te::vp::Merge::checkStrategy(), te::qt::plugins::edit::ToolBar::dataSrcIsPrepared(), te::vp::PrepareAdd(), te::pgis::SetColumnDef(), TsPropertyTypes::tcArrayProperty(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), and TsPropertyTypes::tcSimpleProperty().
|
inlineinherited |
It returns true if the attribute is required, otherwise it returns false.
Definition at line 97 of file SimpleProperty.h.
Referenced by te::sqlite::DataSourceTransactor::addProperty(), te::ado::Transactor::addProperty(), te::sqlite::Convert2SQLCreate(), te::vp::Merge::getOutputDataSetType(), te::pgis::SetColumnDef(), TsPropertyTypes::tcArrayProperty(), TsPropertyTypes::tcBitProperty(), TsPropertyTypes::tcCreatePropertyTypes(), TsPropertyTypes::tcGeometryProperty(), TsPropertyTypes::tcGeometryPropertyCopyConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructor(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), TsPropertyTypes::tcNumericProperty(), TsPropertyTypes::tcRasterProperty(), TsPropertyTypes::tcRasterPropertyAssignOp(), TsPropertyTypes::tcRasterPropertyClone(), TsPropertyTypes::tcSimpleProperty(), TsPropertyTypes::tcStringProperty(), and te::vp::Merge::updateInputDst().
|
private |
Assignment operator not allowed.
| rhs | The right-hand-side copy that would be used to copy from. |
|
inlineinherited |
It tells if the property is an autonumber or not.
| a | If true the property is marked as an autonumber (serial), otherwise it is not. |
Definition at line 118 of file SimpleProperty.h.
Referenced by te::qt::widgets::NewPropertyWidget::buildProperty(), te::pgis::Convert2TerraLib(), CreateDataSetTypeInMemory(), te::graph::DataSourceGraphMetadata::createGraphAttributesTable(), te::graph::DataSourceGraphMetadata::createGraphMetadataTable(), te::graph::DataSourceGraphMetadata::createGraphTableEdgeModel(), te::graph::DataSourceGraphMetadata::createVertexAttrTable(), CreatingDataSetInMemory(), te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::vp::Intersection::executeQuery(), getConvertedproperty(), te::vp::GeometricOp::GetDataSetType(), te::vp::BufferOp::GetDataSetType(), te::mnt::Tin::GetDataSetType(), te::vp::Union::getOutputDataSetType(), te::vp::GetOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::vp::Difference::getOutputDataSetType(), te::vp::Merge::getOutputDataSetType(), te::attributefill::VectorToVectorMemory::getOutputDataSetType(), te::vp::IntersectionOp::getOutputDsType(), QueryInsertExample(), GAP::SavePol(), SaveTIN_shp(), saveUsingOGR(), TsPropertyTypes::tcCreatePropertyTypes(), and te::vp::Merge::updateInputDst().
|
inlineinherited |
It sets the property name.
| name | The new property name. |
Definition at line 154 of file Property.h.
Referenced by te::map::QueryLayer::getSchema().
|
inherited |
It sets the default value associated to the property, or NULL if none is associated.
| d | The default value associated to the property, or NULL if none is associated. |
Definition at line 74 of file datatype/SimpleProperty.cpp.
References d, and te::dt::SimpleProperty::m_defaultValue.
Referenced by te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::attributefill::VectorToVectorMemory::getOutputDataSetType(), TsPropertyTypes::tcBitProperty(), and TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign().
|
inline |
It sets the geometry subtype.
| t | The geometry subtype. |
Definition at line 146 of file GeometryProperty.h.
Referenced by te::graph::LDDGraphBuilder::build(), te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::LineToPolygonOp::buildOutDataSetType(), CopyingData(), te::graph::RAGGraphBuilder::createVertexObjects(), te::graph::FlowGraphBuilder::createVertexObjects(), te::qt::widgets::GeometryPropertyWidget::fillProperty(), te::qt::widgets::DatapPropertiesWidget::getConverter(), te::vp::GeometricOp::GetDataSetType(), te::vp::BufferOp::GetDataSetType(), te::sqlite::DataSourceCatalogLoader::getGeometryInfo(), te::pgis::Transactor::getGeometryInfo(), te::vp::MultipartToSinglepart::getOutDst(), te::vp::Union::getOutputDataSetType(), te::vp::GetOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::vp::Difference::getOutputDataSetType(), te::addressgeocoding::AddressGeocodingOp::getOutputDataSetType(), QueryInsertExample(), and TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign().
|
inlineinherited |
It sets the property identifier.
| id | A number used to identify the property. |
Definition at line 118 of file Property.h.
Referenced by te::graph::AddDeepAttribute::AddDeepAttribute(), AddGraphEdgeAttribute(), te::sa::AddGraphEdgeAttribute(), AddGraphVertexAttribute(), te::sa::AddGraphVertexAttribute(), te::graph::AddRasterAttribute::AddRasterAttribute(), te::graph::LDDGraphBuilder::build(), te::pgis::Transactor::createDataSet(), te::sa::SkaterOperation::createDataSetType(), te::sa::BayesLocalOperation::createDataSetType(), te::sa::BayesGlobalOperation::createDataSetType(), te::sa::KernelOperation::createDataSetType(), te::sa::GeneralizedProximityMatrix::createDataSetType(), te::sa::GPMConstructorAbstractStrategy::createDistanceAttribute(), te::graph::FlowGraphBuilder::createEdgeObjects(), te::graph::RAGGraphBuilder::createVertexObjects(), te::graph::FlowGraphBuilder::createVertexObjects(), te::sa::GPMWeightsAbstractStrategy::createWeightAttribute(), te::pgis::Transactor::getPropertyId(), te::map::QueryLayer::getSchema(), and te::sa::SpatialWeightsExchanger::importFromGWT().
|
inlineinherited |
It sets the property name.
| name | The new property name. |
Definition at line 137 of file Property.h.
Referenced by CopyingData(), te::ogr::Transactor::createDataSet(), te::gpkg::Transactor::createDataSet(), DataSetPersistence(), te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::qt::widgets::DirectExchangerDialog::exchangeToFile(), exportVectortoGPKG(), terralib4::Transactor::getDataSetType(), te::qt::widgets::AddColumnDialog::getNewProperty(), te::vp::Union::getOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::attributefill::VectorToVectorMemory::getOutputDataSetType(), te::vp::IntersectionOp::getOutputDsType(), te::map::QueryLayer::getSchema(), te::qt::widgets::PostGIS2SHPDialog::onOkPushButtonClicked(), te::qt::widgets::SHP2PostGISDialog::onOkPushButtonClicked(), te::qt::widgets::SHP2ADODialog::onOkPushButtonClicked(), te::stmem::Transactor::renameDataSet(), te::qt::widgets::DataSetOptionsWizardPage::set(), TsPropertyTypes::tcGeometryPropertyFirstConstructorAssign(), and TsPropertyTypes::tcRasterProperty().
|
inlineinherited |
It associate this property to the informed parent.
| p | Teh parent property. |
Definition at line 177 of file Property.h.
References p.
Referenced by te::dt::CompositeProperty::add(), te::graph::AddDeepAttribute::AddDeepAttribute(), AddGraphEdgeAttribute(), te::sa::AddGraphEdgeAttribute(), AddGraphVertexAttribute(), te::sa::AddGraphVertexAttribute(), te::graph::AddRasterAttribute::AddRasterAttribute(), te::dt::ArrayProperty::ArrayProperty(), te::graph::QueryGraphBuilder::build(), te::dt::CompositeProperty::copy(), te::sa::SkaterOperation::createDataSetType(), te::sa::BayesGlobalOperation::createDataSetType(), te::sa::BayesLocalOperation::createDataSetType(), te::sa::KernelOperation::createDataSetType(), te::sa::GeneralizedProximityMatrix::createDataSetType(), te::sa::GPMConstructorAbstractStrategy::createDistanceAttribute(), te::graph::FlowGraphBuilder::createEdgeObjects(), te::sa::MinimumSpanningTree::createGraph(), te::graph::DataSourceGraphMetadata::createGraphTableEdgeModel(), te::graph::DataSourceGraphMetadata::createVertexAttrTable(), te::graph::FlowGraphBuilder::createVertexObjects(), te::sa::GPMWeightsAbstractStrategy::createWeightAttribute(), te::vp::GeometricOp::GetDataSetType(), te::vp::GetOutputDataSetType(), te::sa::SpatialWeightsExchanger::importFromGWT(), te::dt::ArrayProperty::operator=(), and te::dt::ArrayProperty::setElementType().
|
inlineinherited |
It tells if the property is required or not.
| r | If true the property is marked as required, otherwise it is not required. |
Definition at line 104 of file SimpleProperty.h.
Referenced by te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::vp::Union::getOutputDataSetType(), te::vp::Merge::getOutputDataSetType(), te::attributefill::VectorToVectorMemory::getOutputDataSetType(), te::ado::Transactor::getProperties(), and te::vp::Merge::updateInputDst().
|
inline |
It sets the spatial reference system identifier associated to this property.
| srid | The SRS id associated to the property. |
Definition at line 132 of file GeometryProperty.h.
Referenced by te::da::AssociateDataSetTypeConverterSRID(), te::graph::LDDGraphBuilder::build(), te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::LineToPolygonOp::buildOutDataSetType(), Copy2DiskShp(), CopyingData(), CreateDataSetTypeInMemory(), te::graph::RAGGraphBuilder::createVertexObjects(), te::graph::FlowGraphBuilder::createVertexObjects(), CreatingDataSetInMemory(), te::qt::widgets::GeometryPropertyWidget::fillProperty(), te::qt::widgets::DatapPropertiesWidget::getConverter(), te::vp::GeometricOp::GetDataSetType(), te::ogr::Transactor::getDataSetType(), te::gpkg::Transactor::getDataSetType(), te::wfs::Transactor::getDataSetType(), te::vp::BufferOp::GetDataSetType(), te::mnt::Tin::GetDataSetType(), te::sqlite::DataSourceCatalogLoader::getGeometryInfo(), te::pgis::Transactor::getGeometryInfo(), te::vp::Union::getOutputDataSetType(), te::vp::Identity::getOutputDataSetType(), te::vp::GetOutputDataSetType(), te::vp::Intersection::getOutputDataSetType(), te::vp::Difference::getOutputDataSetType(), te::addressgeocoding::AddressGeocodingOp::getOutputDataSetType(), te::vp::IntersectionOp::getOutputDsType(), te::qt::widgets::QueryLayerBuilderWizard::getQueryLayer(), te::qt::widgets::TableLinkDialog::getQueryLayer(), GAP::SavePol(), SaveTIN_shp(), saveUsingOGR(), and te::map::DataSetLayer::setSRID().
|
protectedinherited |
The property's dataset name.
Definition at line 208 of file Property.h.
Referenced by te::dt::Property::operator=().
|
protectedinherited |
Default value.
Definition at line 164 of file SimpleProperty.h.
Referenced by te::dt::SimpleProperty::operator=(), te::dt::SimpleProperty::setDefaultValue(), te::dt::SimpleProperty::SimpleProperty(), and te::dt::SimpleProperty::~SimpleProperty().
|
protected |
The geometry type.
Definition at line 180 of file GeometryProperty.h.
|
protectedinherited |
An identification number that can be used internally.
Definition at line 205 of file Property.h.
Referenced by te::dt::Property::operator=().
|
protectedinherited |
A flag that indicates if this is an autonumber or serial type.
Definition at line 163 of file SimpleProperty.h.
Referenced by te::dt::SimpleProperty::operator=().
|
protectedinherited |
This flag indicates if the attribute is required or not.
Definition at line 162 of file SimpleProperty.h.
Referenced by te::dt::SimpleProperty::operator=().
|
protectedinherited |
The property name.
Definition at line 207 of file Property.h.
Referenced by te::dt::Property::operator=().
|
protectedinherited |
The parent property type: it must be a CompositeProperty.
Definition at line 204 of file Property.h.
Referenced by te::dt::Property::operator=().
|
protected |
The SRS associated to the property.
Definition at line 179 of file GeometryProperty.h.
|
protectedinherited |
The property data type.
Definition at line 206 of file Property.h.
Referenced by te::dt::Property::operator=().