CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWTriggerTableViewTableManager.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef Fireworks_Core_FWTriggerTableViewTableManager_h
3 #define Fireworks_Core_FWTriggerTableViewTableManager_h
4 //
5 // Package: Core
6 // Class : FWTriggerTableViewTableManager
7 //
11 //
12 // Original Author:
13 // Created: Mon Feb 2 16:40:52 EST 2009
14 //
15 
16 // system include files
17 #include <vector>
18 #include <string>
19 #include "TQObject.h"
20 #include "GuiTypes.h"
21 
22 // user include files
27 
28 // forward declarations
29 class FWTriggerTableView;
30 
32  friend class FWTriggerTableView;
33 public:
36 
37  // ---------- const member functions ---------------------
39  virtual int numberOfRows() const;
40  virtual int numberOfColumns() const;
41  virtual std::vector<std::string> getTitles() const;
42  virtual int unsortedRowNumber(int iSortedRowNumber) const;
43 
44  virtual FWTableCellRendererBase* cellRenderer(int iSortedRowNumber, int iCol) const;
45  void dataChanged(); //*SIGNAL*
46 
47 protected:
50  virtual void implSort(int iCol, bool iSortOrder);
51  std::vector<int> m_sortedToUnsortedIndices;
52 
56 
57 private:
60 };
61 
62 
63 #endif
const FWTriggerTableViewTableManager & operator=(const FWTriggerTableViewTableManager &)
virtual void implSort(int iCol, bool iSortOrder)
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.
FWTriggerTableViewTableManager(const FWTriggerTableView *)
virtual FWTableCellRendererBase * cellRenderer(int iSortedRowNumber, int iCol) const
virtual int numberOfRows() const
Number of rows in the table.
virtual std::vector< std::string > getTitles() const
returns the title names for each column