#include <RasterProperty.h>
  
 Public Member Functions | |
| void | add (te::rst::BandProperty *b) | 
| It adds a new band information to the property.  More... | |
| te::dt::Property * | clone () const | 
| It returns a clone of the object.  More... | |
| std::vector < te::rst::BandProperty * > &  | getBandProperties () | 
| Returns a reference to the list of bands definitions.  More... | |
| const std::vector < te::rst::BandProperty * > &  | getBandProperties () const | 
| Returns a reference to the list of bands definitions.  More... | |
| std::string * | getDefaultValue () const | 
| It returns the default value associated to the property, or NULL if none is associated.  More... | |
| te::rst::Grid * | getGrid () | 
| Returns the definition of the raster grid support.  More... | |
| const te::rst::Grid * | getGrid () const | 
| Returns the definition of the raster grid support.  More... | |
| unsigned int | getId () const | 
| It returns the property identifier.  More... | |
| const std::map< std::string,  std::string > &  | getInfo () const | 
| Returns the detailed information about the raster data.  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... | |
| RasterProperty & | operator= (const RasterProperty &rhs) | 
| Assignment operator.  More... | |
| RasterProperty (const std::string &name, bool isRequired=false, unsigned int id=0, te::dt::Property *parent=0) | |
| It constructs a new raster property.  More... | |
| RasterProperty (Grid *grid, const std::vector< BandProperty * > &bands, const std::map< std::string, std::string > &rinfo, bool isRequired=false, unsigned int id=0, te::dt::Property *parent=0) | |
| It constructs a new raster property.  More... | |
| RasterProperty (const RasterProperty &rhs) | |
| Copy constructor.  More... | |
| void | set (te::rst::Grid *grid) | 
| Sets the definition of the raster grid support.  More... | |
| void | set (std::size_t i, te::rst::BandProperty *b) | 
| It sets the i-th band to the new information provided.  More... | |
| void | setAutoNumber (bool a) | 
| It tells if the property is an autonumber or not.  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 | setInfo (const std::map< std::string, std::string > &rinfo) | 
| Sets the detailed information about the raster data.  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... | |
| virtual | ~RasterProperty () | 
| Destructor.  More... | |
Protected Attributes | |
| std::vector< BandProperty * > | m_bands | 
| A vector of bands description.  More... | |
| std::string * | m_defaultValue | 
| Default value.  More... | |
| Grid * | m_grid | 
| Sets the Raster Property name.  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... | |
| std::map< std::string,  std::string >  | m_rinfo | 
| Additional raster information.  More... | |
| int | m_type | 
| The property data type.  More... | |
Raster property.
A raster property is used to describe a raster data. It inherits from SimpleProperty, so it can be used through the dataaccess API.
It contains a pointer to its grid support and a list of bands description.
Definition at line 58 of file RasterProperty.h.
| te::rst::RasterProperty::RasterProperty | ( | const std::string & | name, | 
| bool | isRequired = false,  | 
        ||
| unsigned int | id = 0,  | 
        ||
| te::dt::Property * | parent = 0  | 
        ||
| ) | 
It constructs a new raster property.
| grid | The grid definition. Do not pass a null pointer. | 
| bands | Information about raster bands (This RasterProperty instance will acquire the ownership of all band properties objects). | 
| rinfo | Detailed information about the raster data. | 
| isRequired | Tells if the the property is required (mandatory) or not. | 
| id | The property identifier. | 
| parent | A reference to the parent Property of the new object if it has one. | 
Definition at line 40 of file RasterProperty.cpp.
| te::rst::RasterProperty::RasterProperty | ( | Grid * | grid, | 
| const std::vector< BandProperty * > & | bands, | ||
| const std::map< std::string, std::string > & | rinfo, | ||
| bool | isRequired = false,  | 
        ||
| unsigned int | id = 0,  | 
        ||
| te::dt::Property * | parent = 0  | 
        ||
| ) | 
It constructs a new raster property.
| grid | The grid definition. Do not pass a null pointer. | 
| bands | Information about raster bands (This RasterProperty instance will acquire the ownership of all band properties objects). | 
| rinfo | Detailed information about the raster data. | 
| isRequired | Tells if the the property is required (mandatory) or not. | 
| id | The property identifier. | 
| parent | A reference to the parent Property of the new object if it has one. | 
Definition at line 49 of file RasterProperty.cpp.
| te::rst::RasterProperty::RasterProperty | ( | const RasterProperty & | rhs | ) | 
Copy constructor.
| rhs | The right-hand-side copy that would be used to copy from. | 
Definition at line 62 of file RasterProperty.cpp.
References te::common::Copy(), m_bands, m_grid, and m_rinfo.
      
  | 
  virtual | 
Destructor.
Definition at line 72 of file RasterProperty.cpp.
References te::common::FreeContents().
| void te::rst::RasterProperty::add | ( | te::rst::BandProperty * | b | ) | 
It adds a new band information to the property.
| b | A pointer to the band definition. | 
Definition at line 118 of file RasterProperty.cpp.
Referenced by te::pgis::Transactor::getRasterInfo(), and te::gdal::Transactor::getType().
      
  | 
  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 152 of file RasterProperty.cpp.
| std::vector< te::rst::BandProperty * > & te::rst::RasterProperty::getBandProperties | ( | ) | 
Returns a reference to the list of bands definitions.
Definition at line 132 of file RasterProperty.cpp.
Referenced by te::gdal::Transactor::createDataSet(), te::map::DataSetLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::StyleDockWidget::onSymbolizerSelected(), terralib4::Raster::Raster(), and te::qt::widgets::UpdateProperty::setRasterPropertyData().
| const std::vector< te::rst::BandProperty * > & te::rst::RasterProperty::getBandProperties | ( | ) | const | 
Returns a reference to the list of bands definitions.
Definition at line 137 of file RasterProperty.cpp.
      
  | 
  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::qt::widgets::UpdateProperty::propertiesComboBoxActivated(), te::qt::widgets::UpdateProperty::setArrayPropertyData(), te::pgis::SetColumnDef(), te::qt::widgets::UpdateProperty::setDateTimePropertyData(), te::qt::widgets::UpdateProperty::setGeometryPropertyData(), te::qt::widgets::UpdateProperty::setNumericPropertyData(), te::qt::widgets::UpdateProperty::setRasterPropertyData(), and te::qt::widgets::UpdateProperty::setStringPropertyData().
| te::rst::Grid * te::rst::RasterProperty::getGrid | ( | ) | 
Returns the definition of the raster grid support.
Definition at line 108 of file RasterProperty.cpp.
Referenced by te::gdal::Transactor::createDataSet(), te::gdal::DataSet::getExtent(), te::gdal::Transactor::getExtent(), terralib4::Raster::Raster(), and te::qt::widgets::UpdateProperty::setRasterPropertyData().
| const te::rst::Grid * te::rst::RasterProperty::getGrid | ( | ) | const | 
Returns the definition of the raster grid support.
Definition at line 113 of file RasterProperty.cpp.
      
  | 
  inlineinherited | 
It returns the property identifier.
Definition at line 108 of file Property.h.
Referenced by te::da::DataSetTypeConverter::DataSetTypeConverter(), te::pgis::Transactor::getConstraints(), te::pgis::Transactor::getIndexes(), te::pgis::Transactor::getPropertyId(), and te::serialize::xml::Save().
| const std::map< std::string, std::string > & te::rst::RasterProperty::getInfo | ( | ) | const | 
Returns the detailed information about the raster data.
Definition at line 147 of file RasterProperty.cpp.
      
  | 
  inlineinherited | 
It returns the property name.
Definition at line 126 of file Property.h.
Referenced by te::graph::AddDeepAttribute::AddDeepAttribute(), te::graph::DatabaseGraphMetadata::addEdgeProperty(), te::ado::Transactor::addForeignKey(), te::pgis::Transactor::addForeignKey(), te::ado::Transactor::addPrimaryKey(), te::mem::DataSource::addProperty(), te::sqlite::DataSourceTransactor::addProperty(), terralib4::Transactor::addProperty(), te::ado::Transactor::addProperty(), te::pgis::Transactor::addProperty(), te::graph::AddRasterAttribute::AddRasterAttribute(), te::da::DataSourceCatalog::addRef(), te::pgis::Transactor::addSequence(), te::ado::Transactor::addUniqueKey(), te::graph::DatabaseGraphMetadata::addVertexProperty(), AggregationMemory(), AggregationQuery(), BufferQuery(), te::da::DataSourceCatalog::checkFKsDependency(), te::da::DataSourceCatalog::checkSequenceDependency(), te::qt::widgets::DataExchangerWizard::commit(), te::qt::widgets::ConstraintWidget::ConstraintWidget(), te::ogr::Convert2OGR(), te::sqlite::Convert2SQLCreate(), te::da::Create(), te::da::CreateAdapter(), te::mem::DataSource::createDataSet(), te::gdal::Transactor::createDataSet(), te::ogr::Transactor::createDataSet(), te::sqlite::DataSourceTransactor::createDataSet(), te::ado::Transactor::createDataSet(), te::pgis::Transactor::createDataSet(), CreateDataSetType(), DataSetAdapterLayerReader(), DataSetAdapterLayerWriter(), te::qt::widgets::DataSetOptionsWizardPage::datasetPressed(), te::da::DataSetType::DataSetType(), te::da::DataSetTypeConverter::DataSetTypeConverter(), te::qt::widgets::DataSetDisplay::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::DirectExchangerDialog::exchangeToDatabase(), te::qt::widgets::Selection::executeSelection(), te::qt::widgets::DataSetAdapterWidget::fillDataSetTable(), te::ado::Transactor::getCheckConstraints(), te::pgis::Transactor::getConstraints(), terralib4::Transactor::getDataSetType(), te::da::GetEmptyOIDSet(), te::sqlite::DataSourceCatalogLoader::getGeometryInfo(), te::pgis::Transactor::getGeometryInfo(), te::sqlite::DataSourceCatalogLoader::getIndex(), te::sqlite::DataSourceCatalogLoader::getIndexes(), te::ado::Transactor::getIndexes(), te::pgis::Transactor::getIndexes(), te::qt::widgets::Info::getInfo(), te::sqlite::DataSourceCatalogLoader::getPrimaryKey(), te::ado::Transactor::getPrimaryKey(), te::ado::Transactor::getProperties(), te::pgis::Transactor::getPropertyId(), te::da::GetPropertyInfo(), te::stmem::Transactor::getPropertyNames(), te::da::GetPropertyPos(), te::pgis::Transactor::getRasterInfo(), te::sqlite::DataSourceCatalogLoader::getSpatialIndexes(), te::da::GetSQLValueNames(), te::sqlite::DataSourceCatalogLoader::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::qt::widgets::ChartLayerWidget::listAttributes(), te::qt::widgets::GroupingWidget::listAttributes(), te::da::LoadFull(), te::da::LoadProperties(), te::qt::widgets::DatapPropertiesWidget::onInputDataToolButtonTriggered(), te::qt::widgets::SHP2PostGISDialog::onOkPushButtonClicked(), te::qt::widgets::DataPropertiesDialog::onOkPushButtonClicked(), te::qt::widgets::DataSet2Layer::operator()(), te::da::DataSourceCatalog::remove(), te::graph::DatabaseGraphMetadata::removeEdgeProperty(), te::da::DataSourceCatalog::removeRef(), te::graph::DatabaseGraphMetadata::removeVertexProperty(), te::da::DataSourceCatalog::rename(), te::serialize::xml::Save(), and te::qt::widgets::PropertyConverterDialog::set().
      
  | 
  inlineinherited | 
It returns the parent of this property, or NULL, if it doesn't have one.
Definition at line 150 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(), and te::da::DataSourceCatalog::indexSequenceDependency().
      
  | 
  inlineinherited | 
It returns the property data type.
Definition at line 143 of file Property.h.
Referenced by te::ado::Transactor::addForeignKey(), te::ado::Transactor::addPrimaryKey(), te::mem::DataSource::addProperty(), te::ogr::Transactor::addProperty(), te::sqlite::DataSourceTransactor::addProperty(), terralib4::Transactor::addProperty(), te::ado::Transactor::addProperty(), te::pgis::Transactor::addProperty(), te::ado::Transactor::addUniqueKey(), te::qt::widgets::UpdateProperty::arrayElementDataTypeComboBoxChanged(), te::graph::LayerRenderer::checkEdgeGeometryProperty(), te::da::DataSourceCatalog::checkSequenceDependency(), te::graph::LayerRenderer::checkVertexGeometryProperty(), te::ogr::Convert2OGR(), te::da::CreateAdapter(), te::sqlite::DataSourceTransactor::createDataSet(), te::graph::DatabaseGraphMetadata::createGraphTableEdgeModel(), te::graph::DatabaseGraphMetadata::createVertexAttrTable(), te::da::DataSetTypeConverter::DataSetTypeConverter(), te::da::DataSourceCatalog::dropDependentSequenceEntry(), te::da::DataSourceCatalog::dropDependentSequences(), te::ado::Transactor::dropProperty(), te::qt::widgets::DataSetAdapterWidget::fillDataSetTable(), te::dt::CompositeProperty::findFirstPropertyOfType(), te::sqlite::DataSourceCatalogLoader::getDataSetType(), te::da::GetEmptyOIDSet(), te::qt::widgets::WhereClauseWidget::getExpression(), te::da::GetFirstSpatialProperty(), te::pgis::Transactor::getProperties(), te::pgis::Transactor::getProperty(), te::pgis::Transactor::getPropertyId(), te::da::GetPropertyInfo(), te::sqlite::DataSourceCatalogLoader::getSpatialIndexes(), te::sqlite::GetSQLType(), te::pgis::GetSQLValue(), GetTabularProperties(), te::da::DataSourceCatalog::indexSequenceDependency(), te::qt::widgets::ChartLayerWidget::listAttributes(), te::qt::widgets::GroupingWidget::listAttributes(), te::da::DataSetTypeConverter::needConverter(), te::graph::DatabaseGraphMetadata::saveProperty(), te::qt::widgets::UpdateProperty::setArrayPropertyData(), and te::pgis::SetColumnDef().
      
  | 
  virtualinherited | 
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 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::qt::widgets::UpdateProperty::propertiesComboBoxActivated(), and te::pgis::SetColumnDef().
      
  | 
  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::qt::widgets::UpdateProperty::propertiesComboBoxActivated(), te::qt::widgets::UpdateProperty::setArrayPropertyData(), te::pgis::SetColumnDef(), te::qt::widgets::UpdateProperty::setDateTimePropertyData(), te::qt::widgets::UpdateProperty::setGeometryPropertyData(), te::qt::widgets::UpdateProperty::setNumericPropertyData(), te::qt::widgets::UpdateProperty::setRasterPropertyData(), and te::qt::widgets::UpdateProperty::setStringPropertyData().
| te::rst::RasterProperty & te::rst::RasterProperty::operator= | ( | const RasterProperty & | rhs | ) | 
Assignment operator.
| rhs | The right-hand-side copy used to copy from. | 
Definition at line 79 of file RasterProperty.cpp.
References te::common::Copy(), te::common::FreeContents(), m_bands, m_grid, and m_rinfo.
| void te::rst::RasterProperty::set | ( | te::rst::Grid * | grid | ) | 
Sets the definition of the raster grid support.
| grid | The grid definition. Do not pass a null pointer. | 
Definition at line 101 of file RasterProperty.cpp.
Referenced by te::pgis::Transactor::getRasterInfo(), and te::gdal::Transactor::getType().
| void te::rst::RasterProperty::set | ( | std::size_t | i, | 
| te::rst::BandProperty * | b | ||
| ) | 
It sets the i-th band to the new information provided.
| i | The band index. | 
| b | The i-th band information to be assigned to the property. | 
Definition at line 123 of file RasterProperty.cpp.
      
  | 
  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::AddProperty::buildArrayProperty(), te::qt::widgets::AddProperty::buildInt32Property(), te::qt::widgets::AddProperty::buildInt64Property(), te::qt::widgets::UpdateProperty::buildUpdatedArrayProperty(), te::qt::widgets::UpdateProperty::buildUpdatedInt32Property(), te::pgis::Convert2TerraLib(), CreateDataSetType(), te::graph::DatabaseGraphMetadata::createGraphAttributesTable(), te::graph::DatabaseGraphMetadata::createGraphMetadataTable(), te::graph::DatabaseGraphMetadata::createGraphTableEdgeModel(), te::graph::DatabaseGraphMetadata::createVertexAttrTable(), getConvertedproperty(), and GetDataSetType().
      
  | 
  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 SimpleProperty.cpp.
      
  | 
  inlineinherited | 
It sets the property identifier.
| id | A number used to identify the property. | 
Definition at line 117 of file Property.h.
Referenced by te::graph::AddDeepAttribute::AddDeepAttribute(), te::graph::AddRasterAttribute::AddRasterAttribute(), te::graph::LDDGraphBuilder::build(), te::pgis::Transactor::createDataSet(), te::graph::FlowGraphBuilder::createEdgeObjects(), te::graph::RAGGraphBuilder::createVertexObjects(), te::graph::FlowGraphBuilder::createVertexObjects(), and te::pgis::Transactor::getPropertyId().
| void te::rst::RasterProperty::setInfo | ( | const std::map< std::string, std::string > & | rinfo | ) | 
Sets the detailed information about the raster data.
| rinfo | Detailed information about the raster data. | 
Definition at line 142 of file RasterProperty.cpp.
      
  | 
  inlineinherited | 
It sets the property name.
| name | The new property name. | 
Definition at line 136 of file Property.h.
Referenced by te::ogr::Transactor::createDataSet(), CreateDataSetType(), te::qt::widgets::DirectExchangerDialog::exchangeToDatabase(), te::qt::widgets::DirectExchangerDialog::exchangeToFile(), terralib4::Transactor::getDataSetType(), te::qt::widgets::AddColumnDialog::getNewProperty(), te::qt::widgets::PostGIS2SHPDialog::onOkPushButtonClicked(), te::qt::widgets::SHP2ADODialog::onOkPushButtonClicked(), te::qt::widgets::SHP2PostGISDialog::onOkPushButtonClicked(), and te::stmem::Transactor::renameDataSet().
      
  | 
  inlineinherited | 
It associate this property to the informed parent.
| p | Teh parent property. | 
Definition at line 159 of file Property.h.
Referenced by te::dt::CompositeProperty::add(), te::graph::AddDeepAttribute::AddDeepAttribute(), te::graph::AddRasterAttribute::AddRasterAttribute(), te::dt::ArrayProperty::ArrayProperty(), te::graph::QueryGraphBuilder::build(), te::dt::CompositeProperty::copy(), te::graph::FlowGraphBuilder::createEdgeObjects(), te::graph::DatabaseGraphMetadata::createGraphTableEdgeModel(), te::graph::DatabaseGraphMetadata::createVertexAttrTable(), te::graph::FlowGraphBuilder::createVertexObjects(), 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::AddProperty::buildArrayProperty(), te::qt::widgets::UpdateProperty::buildUpdatedArrayProperty(), and te::ado::Transactor::getProperties().
      
  | 
  protected | 
A vector of bands description.
Definition at line 193 of file RasterProperty.h.
Referenced by operator=(), and RasterProperty().
      
  | 
  protectedinherited | 
Default value.
Definition at line 164 of file SimpleProperty.h.
Referenced by te::dt::SimpleProperty::operator=(), and te::dt::SimpleProperty::SimpleProperty().
      
  | 
  protected | 
Sets the Raster Property name.
| name | The name. | 
Definition at line 192 of file RasterProperty.h.
Referenced by operator=(), and RasterProperty().
      
  | 
  protectedinherited | 
An identification number that can be used internally.
Definition at line 187 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 189 of file Property.h.
Referenced by te::dt::Property::operator=().
      
  | 
  protectedinherited | 
The parent property type: it must be a CompositeProperty.
Definition at line 186 of file Property.h.
      
  | 
  protected | 
Additional raster information.
Definition at line 194 of file RasterProperty.h.
Referenced by operator=(), and RasterProperty().
      
  | 
  protectedinherited | 
The property data type.
Definition at line 188 of file Property.h.
Referenced by te::dt::Property::operator=().