CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Fireworks/Core/src/FWDetailViewManager.cc File Reference

#include <stdio.h>
#include <boost/bind.hpp>
#include <algorithm>
#include "TClass.h"
#include "TROOT.h"
#include "TGWindow.h"
#include "TGFrame.h"
#include "TEveManager.h"
#include "TEveWindowManager.h"
#include "TEveWindow.h"
#include "TQObject.h"
#include "Fireworks/Core/interface/FWDetailViewManager.h"
#include "Fireworks/Core/interface/FWColorManager.h"
#include "Fireworks/Core/interface/FWDetailViewBase.h"
#include "Fireworks/Core/interface/FWModelId.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWDetailViewFactory.h"
#include "Fireworks/Core/interface/FWSimpleRepresentationChecker.h"
#include "Fireworks/Core/interface/FWRepresentationInfo.h"
#include "Fireworks/Core/interface/fwLog.h"

Go to the source code of this file.

Functions

static std::string viewNameFrom (const std::string &iFull)

Function Documentation

static std::string viewNameFrom ( const std::string &  iFull) [static]

Definition at line 39 of file FWDetailViewManager.cc.

References first, and edm::second().

Referenced by FWDetailViewManager::detailViewsFor(), FWDetailViewManager::findViewersFor(), and FWDetailViewManager::openDetailViewFor().

{
   std::string::size_type first = iFull.find_first_of('@');
   std::string::size_type second = iFull.find_first_of('@',first+1);
   return iFull.substr(first+1,second-first-1);
   
}