CMS 3D CMS Logo

Classes | Functions | Variables

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Fireworks/Core/src/FWGUIEventDataAdder.cc File Reference

#include <iostream>
#include <sigc++/signal.h>
#include <boost/bind.hpp>
#include <algorithm>
#include <cctype>
#include <string>
#include "TGFrame.h"
#include "TGTextEntry.h"
#include "TGButton.h"
#include "TGMsgBox.h"
#include "TClass.h"
#include "TFile.h"
#include "TTree.h"
#include "TBranch.h"
#include "Fireworks/Core/src/FWGUIEventDataAdder.h"
#include "Fireworks/Core/interface/FWPhysicsObjectDesc.h"
#include "Fireworks/Core/interface/FWEventItemsManager.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWItemAccessorFactory.h"
#include "Fireworks/Core/interface/FWJobMetadataManager.h"
#include "Fireworks/TableWidget/interface/FWTableWidget.h"
#include "Fireworks/TableWidget/interface/FWTableManagerBase.h"
#include "Fireworks/TableWidget/interface/FWTextTableCellRenderer.h"
#include "Fireworks/Core/interface/fwLog.h"
#include "Fireworks/Core/src/FWDialogBuilder.h"

Go to the source code of this file.

Classes

class  DataAdderTableManager

Functions

static const std::string & dataForColumn (const FWJobMetadataManager::Data &iData, int iCol)

Variables

static const unsigned int kNColumns = 5

Function Documentation

static const std::string& dataForColumn ( const FWJobMetadataManager::Data iData,
int  iCol 
) [static]

Definition at line 46 of file FWGUIEventDataAdder.cc.

References FWJobMetadataManager::Data::moduleLabel_, FWJobMetadataManager::Data::processName_, FWJobMetadataManager::Data::productInstanceLabel_, FWJobMetadataManager::Data::purpose_, and FWJobMetadataManager::Data::type_.

Referenced by DataAdderTableManager::cellRenderer().

{
   switch (iCol) {
      case 0:
         return iData.purpose_;
         break;
      case 4:
         return iData.type_;
         break;
      case 1:
         return iData.moduleLabel_;
         break;
      case 2:
         return iData.productInstanceLabel_;
         break;
      case 3:
         return iData.processName_;
         break;
      default:
         break;
   }
   static const std::string s_blank;
   return s_blank;
}

Variable Documentation

const unsigned int kNColumns = 5 [static]