CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
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().

47 {
48  switch (iCol) {
49  case 0:
50  return iData.purpose_;
51  break;
52  case 4:
53  return iData.type_;
54  break;
55  case 1:
56  return iData.moduleLabel_;
57  break;
58  case 2:
59  return iData.productInstanceLabel_;
60  break;
61  case 3:
62  return iData.processName_;
63  break;
64  default:
65  break;
66  }
67  static const std::string s_blank;
68  return s_blank;
69 }

Variable Documentation

const unsigned int kNColumns = 5
static