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 ObjectId.h.
te::da::ObjectId::ObjectId | ( | ) |
Default constructor.
Definition at line 32 of file ObjectId.cpp.
te::da::ObjectId::ObjectId | ( | const ObjectId & | rhs | ) |
te::da::ObjectId::~ObjectId | ( | ) |
Destructor.
Definition at line 42 of file ObjectId.cpp.
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 61 of file ObjectId.cpp.
Referenced by te::edit::GenerateId(), and te::da::GenerateOID().
te::da::ObjectId * te::da::ObjectId::clone | ( | ) | const |
Definition at line 68 of file ObjectId.cpp.
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 46 of file ObjectId.cpp.
Referenced by te::da::getBasePkey(), GetOidAsString(), and te::qt::widgets::Promoter::map2Row().
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 51 of file ObjectId.cpp.
Referenced by te::qt::widgets::Histogram::find(), te::qt::widgets::Scatter::find(), te::edit::Repository::getNewFeatures(), te::qt::widgets::PointToObjectId::getObjIdAsString(), te::qt::widgets::IntervalToObjectId::getObjIdAsString(), and operator<().
bool te::da::ObjectId::operator< | ( | const ObjectId & | rhs | ) | const |
Definition at line 73 of file ObjectId.cpp.
References getValueAsString().
|
private |