CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Fireworks/TableWidget/src/FWAdapterRowHeaderTableManager.h

Go to the documentation of this file.
00001 #ifndef Fireworks_TableWidget_FWAdapterRowHeaderTableManager_h
00002 #define Fireworks_TableWidget_FWAdapterRowHeaderTableManager_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     TableWidget
00006 // Class  :     FWAdapterRowHeaderTableManager
00007 // 
00019 //
00020 // Original Author:  Chris Jones
00021 //         Created:  Mon Feb  2 16:44:59 EST 2009
00022 // $Id: FWAdapterRowHeaderTableManager.h,v 1.1 2009/02/03 20:33:04 chrjones Exp $
00023 //
00024 
00025 // system include files
00026 
00027 // user include files
00028 #include "Fireworks/TableWidget/interface/FWTableManagerBase.h"
00029 
00030 // forward declarations
00031 
00032 class FWAdapterRowHeaderTableManager : public FWTableManagerBase 
00033 {
00034 
00035    public:
00036       FWAdapterRowHeaderTableManager(FWTableManagerBase*);
00037       virtual ~FWAdapterRowHeaderTableManager();
00038 
00039       // ---------- const member functions ---------------------
00040       virtual  int numberOfRows() const ;
00041       virtual  int numberOfColumns() const ;
00042       virtual std::vector<std::string> getTitles() const;
00043       virtual FWTableCellRendererBase* cellRenderer(int iRow, int iCol) const;
00044       int unsortedRowNumber(int) const;
00045 
00046       // ---------- static member functions --------------------
00047 
00048       // ---------- member functions ---------------------------
00049       virtual void implSort(int col, bool sortOrder) ;
00050 
00051    private:
00052       FWAdapterRowHeaderTableManager(const FWAdapterRowHeaderTableManager&); // stop default
00053 
00054       const FWAdapterRowHeaderTableManager& operator=(const FWAdapterRowHeaderTableManager&); // stop default
00055 
00056       // ---------- member data --------------------------------
00057       const FWTableManagerBase* m_table;
00058 
00059 };
00060 
00061 
00062 #endif