CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 46 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 705 of file FWEveViewManager.cc.

References m_name, and AlCaHLTBitMon_QueryRunRegistry::string.

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

705  {
706  const std::string kSimple("simple#");
707  simple = (m_name.substr(0, kSimple.size()) == kSimple);
708  if (simple) {
709  typeName = m_name.substr(kSimple.size(), m_name.find_first_of('@') - kSimple.size() - 1);
710  } else {
711  typeName = m_name.substr(0, m_name.find_first_of('@') - 1);
712  }
713 }

Member Data Documentation

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