|
||||
File indexing completed on 2024-04-06 12:11:41
0001 // -*- C++ -*- 0002 // 0003 // Package: Core 0004 // Class : FWModelId 0005 // 0006 // Implementation: 0007 // <Notes on implementation> 0008 // 0009 // Original Author: Chris Jones 0010 // Created: Wed Mar 5 11:00:48 EST 2008 0011 // 0012 0013 // system include files 0014 0015 // user include files 0016 #include "Fireworks/Core/interface/FWModelId.h" 0017 #include "Fireworks/Core/interface/FWEventItem.h" 0018 0019 // 0020 // constants, enums and typedefs 0021 // 0022 0023 // 0024 // static data member definitions 0025 // 0026 0027 // 0028 // constructors and destructor 0029 // 0030 /* 0031 FWModelId::FWModelId() 0032 { 0033 } 0034 */ 0035 // FWModelId::FWModelId(const FWModelId& rhs) 0036 // { 0037 // // do actual copying here; 0038 // } 0039 0040 /* 0041 FWModelId::~FWModelId() 0042 { 0043 } 0044 */ 0045 0046 // 0047 // assignment operators 0048 // 0049 // const FWModelId& FWModelId::operator=(const FWModelId& rhs) 0050 // { 0051 // //An exception safe implementation is 0052 // FWModelId temp(rhs); 0053 // swap(rhs); 0054 // 0055 // return *this; 0056 // } 0057 0058 // 0059 // member functions 0060 // 0061 0062 // 0063 // const member functions 0064 // 0065 void FWModelId::unselect() const { 0066 if (m_item) { 0067 m_item->unselect(m_index); 0068 } 0069 } 0070 void FWModelId::select() const { 0071 if (m_item) { 0072 m_item->select(m_index); 0073 } 0074 } 0075 0076 void FWModelId::toggleSelect() const { 0077 if (m_item) { 0078 m_item->toggleSelect(m_index); 0079 } 0080 } 0081 0082 // 0083 // static member functions 0084 //
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |