CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
FWEveViewManager::BuilderInfo Struct Reference

#include <FWEveViewManager.h>

Public Member Functions

 BuilderInfo (std::string name, int viewBit)
 
void classType (std::string &, bool &) const
 

Public Attributes

std::string m_name
 
int m_viewBit
 

Detailed Description

Definition at line 47 of file FWEveViewManager.h.

Constructor & Destructor Documentation

FWEveViewManager::BuilderInfo::BuilderInfo ( std::string  name,
int  viewBit 
)
inline

Member Function Documentation

void FWEveViewManager::BuilderInfo::classType ( std::string &  typeName,
bool &  simple 
) const

Definition at line 848 of file FWEveViewManager.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FWEveViewManager::newItem(), and FWEveViewManager::supportedTypesAndRepresentations().

849 {
850  const std::string kSimple("simple#");
851  simple = (m_name.substr(0,kSimple.size()) == kSimple);
852  if (simple)
853  {
854  typeName = m_name.substr(kSimple.size(), m_name.find_first_of('@')-kSimple.size()-1);
855  }
856  else
857  {
858  typeName = m_name.substr(0, m_name.find_first_of('@')-1);
859  }
860 }

Member Data Documentation

std::string FWEveViewManager::BuilderInfo::m_name
int FWEveViewManager::BuilderInfo::m_viewBit