#include <Fireworks/Core/interface/FWEDProductRepresentationChecker.h>
Public Member Functions | |
FWEDProductRepresentationChecker (const std::string &iTypeidName, const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart) | |
virtual FWRepresentationInfo | infoFor (const std::string &iTypeName) const |
Private Member Functions | |
FWEDProductRepresentationChecker (const FWEDProductRepresentationChecker &) | |
const FWEDProductRepresentationChecker & | operator= (const FWEDProductRepresentationChecker &) |
Private Attributes | |
const std::string | m_typeidName |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 30 of file FWEDProductRepresentationChecker.h.
FWEDProductRepresentationChecker::FWEDProductRepresentationChecker | ( | const std::string & | iTypeidName, |
const std::string & | iPurpose, | ||
unsigned int | iBitPackedViews, | ||
bool | iRepresentsSubPart | ||
) |
Definition at line 32 of file FWEDProductRepresentationChecker.cc.
: FWRepresentationCheckerBase(iPurpose, iBitPackedViews,iRepresentsSubPart), m_typeidName(iTypeidName) { }
FWEDProductRepresentationChecker::FWEDProductRepresentationChecker | ( | const FWEDProductRepresentationChecker & | ) | [private] |
FWRepresentationInfo FWEDProductRepresentationChecker::infoFor | ( | const std::string & | iTypeName | ) | const [virtual] |
Implements FWRepresentationCheckerBase.
Definition at line 70 of file FWEDProductRepresentationChecker.cc.
References FWRepresentationCheckerBase::bitPackedViews(), m_typeidName, FWRepresentationCheckerBase::purpose(), and FWRepresentationCheckerBase::representsSubPart().
{ TClass* clss = TClass::GetClass(iTypeName.c_str()); if(0==clss || clss->GetTypeInfo()==0) { return FWRepresentationInfo(); } if(clss->GetTypeInfo()->name() == m_typeidName) { return FWRepresentationInfo(purpose(),0,bitPackedViews(), representsSubPart()); } return FWRepresentationInfo(); }
const FWEDProductRepresentationChecker& FWEDProductRepresentationChecker::operator= | ( | const FWEDProductRepresentationChecker & | ) | [private] |
const std::string FWEDProductRepresentationChecker::m_typeidName [private] |
Definition at line 51 of file FWEDProductRepresentationChecker.h.
Referenced by infoFor().