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.
te::da::ObjectId::ObjectId | ( | const ObjectId & | rhs | ) |
Copy constructor.
te::da::ObjectId::~ObjectId | ( | ) |
Destructor.
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. |
ObjectId* te::da::ObjectId::clone | ( | ) | const |
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.
std::string te::da::ObjectId::getValueAsString | ( | ) | const |
It gets the properties values used to uniquely identify a data set element as string.
Referenced by te::qt::widgets::PointToObjectId::getObjIdAsString(), and te::qt::widgets::IntervalToObjectId::getObjIdAsString().
bool te::da::ObjectId::operator< | ( | const ObjectId & | rhs | ) | const |
|
private |
A vector of property values.
Definition at line 91 of file ObjectId.h.