#include <Fireworks/Core/interface/FWModelId.h>
Public Types | |
enum | { kContainerIndex = -1 } |
Public Member Functions | |
FWModelId (const FWEventItem *iItem=0, int iIndex=kContainerIndex) | |
int | index () const |
const FWEventItem * | item () const |
bool | operator< (const FWModelId &iRHS) const |
void | select () const |
void | setIndex (int iIndex) |
void | toggleSelect () const |
void | unselect () const |
Private Attributes | |
int | m_index |
const FWEventItem * | m_item |
Description: identifies a particular model within an FWEventItem
Usage: <usage>
Definition at line 29 of file FWModelId.h.
anonymous enum |
FWModelId::FWModelId | ( | const FWEventItem * | iItem = 0 , |
int | iIndex = kContainerIndex |
||
) | [inline] |
Definition at line 34 of file FWModelId.h.
int FWModelId::index | ( | ) | const [inline] |
Definition at line 50 of file FWModelId.h.
References m_index.
Referenced by FWDetailViewBase::build(), FWModelIdFromEveSelector::doSelect(), FWModelIdFromEveSelector::doUnselect(), FWPFClusterLegoProxyBuilder::localModelChanges(), FWMuonRhoPhiProxyBuilder::localModelChanges(), FWVertexProxyBuilder::localModelChanges(), FWTauProxyBuilderBase::localModelChanges(), FWJetProxyBuilder::localModelChanges(), FWPFCandidatesLegoProxyBuilder::localModelChanges(), FWSiStripClusterProxyBuilder::localModelChanges(), FWPFEcalRecHitLegoProxyBuilder::localModelChanges(), FWMuonProxyBuilder::localModelChanges(), FWPFPatJetLegoProxyBuilder< T >::localModelChanges(), FWCandidateLegoProxyBuilder::localModelChanges(), FWBeamSpotProxyBuilder::localModelChanges(), FWViewContextMenuHandlerGL::select(), and FWSimpleProxyBuilder::visibilityModelChanges().
{ return m_index; }
const FWEventItem* FWModelId::item | ( | ) | const [inline] |
Definition at line 45 of file FWModelId.h.
References m_item.
Referenced by FWDetailViewBase::build(), FWDetailView< reco::Muon >::build(), FWModelChangeManager::changed(), FWDetailViewManager::detailViewsFor(), FWModelIdFromEveSelector::doSelect(), FWModelIdFromEveSelector::doUnselect(), FWSelectionManager::select(), FWViewContextMenuHandlerGL::select(), FWSelectionManager::unselect(), and FWSimpleProxyBuilder::visibilityModelChanges().
{ return m_item; }
bool FWModelId::operator< | ( | const FWModelId & | iRHS | ) | const [inline] |
void FWModelId::select | ( | ) | const |
Definition at line 72 of file FWModelId.cc.
References m_index, m_item, and FWEventItem::select().
Referenced by FWModelIdFromEveSelector::doSelect().
void FWModelId::setIndex | ( | int | iIndex | ) | [inline] |
void FWModelId::toggleSelect | ( | ) | const |
Definition at line 77 of file FWModelId.cc.
References m_index, m_item, and FWEventItem::toggleSelect().
{ if(m_item) {m_item->toggleSelect(m_index);} }
void FWModelId::unselect | ( | ) | const |
Definition at line 68 of file FWModelId.cc.
References m_index, m_item, and FWEventItem::unselect().
Referenced by FWModelIdFromEveSelector::doUnselect().
int FWModelId::m_index [private] |
Definition at line 70 of file FWModelId.h.
Referenced by index(), operator<(), select(), setIndex(), toggleSelect(), and unselect().
const FWEventItem* FWModelId::m_item [private] |
Definition at line 69 of file FWModelId.h.
Referenced by item(), operator<(), select(), toggleSelect(), and unselect().