CMS 3D CMS Logo

Public Member Functions | Private Attributes

FWModelIdFromEveSelector Class Reference

#include <Fireworks/Core/interface/FWModelIdFromEveSelector.h>

Inheritance diagram for FWModelIdFromEveSelector:
FWFromEveSelectorBase

List of all members.

Public Member Functions

void doSelect ()
void doUnselect ()
 FWModelIdFromEveSelector (const FWModelId &iId=FWModelId())
const FWModelIdid () const
 operator FWModelId () const

Private Attributes

FWModelId m_id

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 30 of file FWModelIdFromEveSelector.h.


Constructor & Destructor Documentation

FWModelIdFromEveSelector::FWModelIdFromEveSelector ( const FWModelId iId = FWModelId()) [inline]

Definition at line 34 of file FWModelIdFromEveSelector.h.

                                                               :
   m_id(iId) {}

Member Function Documentation

void FWModelIdFromEveSelector::doSelect ( ) [virtual]

Implements FWFromEveSelectorBase.

Definition at line 61 of file FWModelIdFromEveSelector.cc.

References FWModelId::index(), FWModelId::item(), m_id, FWEventItem::modelInfo(), and FWModelId::select().

{
   if( not m_id.item()->modelInfo(m_id.index()).isSelected() ) {
      m_id.select();
   }
}
void FWModelIdFromEveSelector::doUnselect ( ) [virtual]
const FWModelId& FWModelIdFromEveSelector::id ( void  ) const [inline]

Definition at line 40 of file FWModelIdFromEveSelector.h.

References m_id.

{return m_id;}
FWModelIdFromEveSelector::operator FWModelId ( ) const [inline]

Definition at line 38 of file FWModelIdFromEveSelector.h.

References m_id.

{ return m_id;} 

Member Data Documentation

Definition at line 54 of file FWModelIdFromEveSelector.h.

Referenced by doSelect(), doUnselect(), id(), and operator FWModelId().