CMS 3D CMS Logo

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

Definition at line 53 of file FWEveViewManager.h.

Member Function Documentation

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

Definition at line 838 of file FWEveViewManager.cc.

References m_name, and AlCaHLTBitMon_QueryRunRegistry::string.

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

839 {
840  const std::string kSimple("simple#");
841  simple = (m_name.substr(0,kSimple.size()) == kSimple);
842  if (simple)
843  {
844  typeName = m_name.substr(kSimple.size(), m_name.find_first_of('@')-kSimple.size()-1);
845  }
846  else
847  {
848  typeName = m_name.substr(0, m_name.find_first_of('@')-1);
849  }
850 }

Member Data Documentation

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