|
| virtual te::da::DataSetItem * | clone () const override |
| | Clones the feature. More...
|
| |
| void | copyValuesFrom (const te::da::DataSetItem *source, bool copyGeometries=true) |
| | Copies the values from the source dataSet item to the destination dataSet item by matching the column names. If a column from the source does not exist in the destination, it will not be copied. More...
|
| |
| | Feature (const te::da::DataSet *dataSet) |
| |
| | Feature (const te::da::DataSetType *dataSetType) |
| |
| | Feature (const te::da::DataSetItem &dataSetItem) |
| | Constructor. More...
|
| |
| | Feature (const Feature &rhs) |
| | It creates a new feature by cloning the values in the source feature (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...
|
| |
| std::unique_ptr< te::gm::Geometry > | getFirstGeometry () const |
| | Gets the first geometry associated to this feature. The caller will take the ownership of the object. More...
|
| |
| const te::gm::Geometry * | getFirstGeometryPtr () const |
| | Gets the first geometry associated to this feature. The caller will NOT take the ownership of the object. More...
|
| |
| te::gm::Geometry * | getFirstGeometryPtr () |
| | Gets the first geometry associated to this feature. The caller will NOT take the ownership of the object. 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...
|
| |
| int | getPropertyDataType (std::size_t pos) const |
| | It returns the type of the pos-th property. More...
|
| |
| const std::string & | getPropertyName (std::size_t pos) const |
| | It returns the name of the pos-th property. More...
|
| |
| const std::vector< std::string > & | getPropertyNames () const |
| | It returns the name of properties. More...
|
| |
| std::size_t | getPropertyPos (const std::string &name) const |
| | It returns the name of the pos-th property. More...
|
| |
| const std::vector< int > & | getPropertyTypes () const |
| | It returns the types of properties. 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 |
| | Checks if the value in the given index is null. 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 | setFirstGeometry (te::gm::Geometry *geometry) |
| | Sets the first geometry value associated to this feature. This will take the ownership of the object. 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 | setSRID (int srid) |
| |
| 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...
|
| |
| void | transform (int srid) |
| | It converts the coordinate values of the feature to the new spatial reference system. More...
|
| |
| void | transform (te::srs::Converter *converter) |
| | It converts the coordinate values of the feature to the new spatial reference system. More...
|
| |
| virtual | ~Feature () |
| | Destructor. More...
|
| |
A feature is a composition of a geometry and its attributes.
Definition at line 69 of file Feature.h.