This class represents an unique id for a data set element. More...
#include <ObjectId.h>
Public Member Functions | |
| void | addValue (te::dt::AbstractData *data) |
| It adds a property value to uniquely identify a data set element. More... | |
| ObjectId * | clone () const |
| const boost::ptr_vector< te::dt::AbstractData > & | getValue () const |
| It gets the properties values used to uniquely identify a data set element. More... | |
| std::string | getValueAsString () const |
| It gets the properties values used to uniquely identify a data set element as string. More... | |
| ObjectId () | |
| Default constructor. More... | |
| ObjectId (const ObjectId &rhs) | |
| Copy constructor. More... | |
| bool | operator< (const ObjectId &rhs) const |
| ~ObjectId () | |
| Destructor. More... | |
Private Attributes | |
| boost::ptr_vector< te::dt::AbstractData > | m_data |
| A vector of property values. More... | |
This class represents an unique id for a data set element.
Definition at line 47 of file dataaccess/dataset/ObjectId.h.
|
default |
Default constructor.
Referenced by clone().
| te::da::ObjectId::ObjectId | ( | const ObjectId & | rhs | ) |
Copy constructor.
Definition at line 34 of file src/terralib/dataaccess/dataset/ObjectId.cpp.
References m_data, and ~ObjectId().
|
default |
Destructor.
Referenced by ObjectId().
| void te::da::ObjectId::addValue | ( | te::dt::AbstractData * | data | ) |
It adds a property value to uniquely identify a data set element.
| data | The value of the property. |
Definition at line 57 of file src/terralib/dataaccess/dataset/ObjectId.cpp.
References m_data.
Referenced by te::edit::GenerateId(), and te::vp::CheckGeomValidityDialog::onVerifyPushButtonClicked().
| te::da::ObjectId * te::da::ObjectId::clone | ( | ) | const |
Definition at line 64 of file src/terralib/dataaccess/dataset/ObjectId.cpp.
References ObjectId().
Referenced by te::edit::Feature::clone().
| const boost::ptr_vector< te::dt::AbstractData > & te::da::ObjectId::getValue | ( | ) | const |
It gets the properties values used to uniquely identify a data set element.
Definition at line 42 of file src/terralib/dataaccess/dataset/ObjectId.cpp.
References m_data.
Referenced by te::da::getBasePkey(), GetOidAsString(), te::qt::widgets::Promoter::map2Row(), and te::qt::plugins::edit::ToolBar::onSaveActivated().
| std::string te::da::ObjectId::getValueAsString | ( | ) | const |
It gets the properties values used to uniquely identify a data set element as string.
Definition at line 47 of file src/terralib/dataaccess/dataset/ObjectId.cpp.
References m_data.
Referenced by te::edit::AddCommand::draw(), te::qt::widgets::Histogram::find(), te::qt::widgets::Scatter::find(), te::qt::widgets::PointToObjectId::getObjIdAsString(), te::qt::widgets::IntervalToObjectId::getObjIdAsString(), te::edit::Feature::isEquals(), te::edit::EditInfoTool::mousePressEvent(), te::qt::plugins::edit::ToolBar::onSaveActivated(), and operator<().
Definition at line 69 of file src/terralib/dataaccess/dataset/ObjectId.cpp.
References getValueAsString().
|
private |
A vector of property values.
Definition at line 91 of file dataaccess/dataset/ObjectId.h.
Referenced by addValue(), getValue(), getValueAsString(), and ObjectId().