25 #ifndef __TERRALIB_QT_WIDGETS_TABLE_INTERNAL_PROMOTER_H
26 #define __TERRALIB_QT_WIDGETS_TABLE_INTERNAL_PROMOTER_H
29 #include "../../../common/Comparators.h"
142 #endif //__TERRALIB_QT_WIDGETS_TABLE_INTERNAL_PROMOTER_H
size_t getLogicalRow(const size_t &visualRow)
Returns the logical position of the row visualRow.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
size_t map2Row(te::da::ObjectId *oid)
Given an object id returns its row.
void cleanLogRowsAndProcessKeys()
std::map< std::string, size_t > m_PkeysRows
Map object id to its position in DataSet.
void cleanPreproccessKeys()
Cleans the storage of the primary keys. Next time enabled, will be necessary to proccess all primary ...
void preProcessKeys(te::da::DataSet *dset, const std::vector< size_t > &pkeys)
Proccess primary keys and stores it.
void promote(const te::da::ObjectIdSet *oids)
Promotes the rows identified by oids primary keys.
std::vector< size_t > m_logicalRows
Map original row to logical postion.
This class represents an unique id for a data set element.
bool operator()(te::da::ObjectId *lhs, te::da::ObjectId *rhs)
void resetPromotion()
Returns the rows to its original positions.
A dataset is the unit of information manipulated by the data access module of TerraLib.
A class used for logical ordering of rows.