39 std::vector<std::string>
43 std::vector<std::string>
ret;
45 for (
unsigned int i = 0;
i <
n; ++
i) {
64 const int acceptColumn = 1;
90 template <
typename TMap>
92 const std::vector<FWTriggerTableView::Column>& iData,
94 std::vector<int>& oRowToIndex)
97 for(std::vector<std::string>::const_iterator it = iData.at(col).values.begin(),
98 itEnd = iData.at(col).values.end(); it!=itEnd; ++it,++
index) {
99 iOrdered.insert(std::make_pair(*it,index));
101 unsigned int row = 0;
102 for(
typename TMap::iterator it = iOrdered.begin(),
103 itEnd = iOrdered.end();
106 oRowToIndex[row]=it->second;
115 std::multimap<std::string,int,std::greater<std::string> > ordered;
118 std::multimap<std::string,int> ordered;
tuple ret
prodAgent to be discontinued
FWTextTableCellRenderer * m_renderer
const FWTriggerTableView * m_view
virtual void implSort(int iCol, bool iSortOrder)
std::vector< Column > m_columns
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes...
virtual int unsortedRowNumber(int iSortedRowNumber) const
when passed the index to the sorted order of the rows it returns the original row number from the und...
virtual int numberOfColumns() const
Number of columns in the table.
FWTableWidget * m_tableWidget
FWTriggerTableViewTableManager(const FWTriggerTableView *)
std::vector< int > m_sortedToUnsortedIndices
Color_t backgroundColor() const
void setData(const std::string &, bool isSelected)
virtual FWTableCellRendererBase * cellRenderer(int iSortedRowNumber, int iCol) const
virtual int numberOfRows() const
Number of rows in the table.
virtual ~FWTriggerTableViewTableManager()
virtual std::vector< std::string > getTitles() const
returns the title names for each column