src
Fireworks
Core
src
FWModelId.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Core
4
// Class : FWModelId
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author: Chris Jones
10
// Created: Wed Mar 5 11:00:48 EST 2008
11
//
12
13
// system include files
14
15
// user include files
16
#include "
Fireworks/Core/interface/FWModelId.h
"
17
#include "
Fireworks/Core/interface/FWEventItem.h
"
18
19
//
20
// constants, enums and typedefs
21
//
22
23
//
24
// static data member definitions
25
//
26
27
//
28
// constructors and destructor
29
//
30
/*
31
FWModelId::FWModelId()
32
{
33
}
34
*/
35
// FWModelId::FWModelId(const FWModelId& rhs)
36
// {
37
// // do actual copying here;
38
// }
39
40
/*
41
FWModelId::~FWModelId()
42
{
43
}
44
*/
45
46
//
47
// assignment operators
48
//
49
// const FWModelId& FWModelId::operator=(const FWModelId& rhs)
50
// {
51
// //An exception safe implementation is
52
// FWModelId temp(rhs);
53
// swap(rhs);
54
//
55
// return *this;
56
// }
57
58
//
59
// member functions
60
//
61
62
//
63
// const member functions
64
//
65
void
FWModelId::unselect
()
const
{
66
if
(
m_item
) {
67
m_item
->
unselect
(
m_index
);
68
}
69
}
70
void
FWModelId::select
()
const
{
71
if
(
m_item
) {
72
m_item
->
select
(
m_index
);
73
}
74
}
75
76
void
FWModelId::toggleSelect
()
const
{
77
if
(
m_item
) {
78
m_item
->
toggleSelect
(
m_index
);
79
}
80
}
81
82
//
83
// static member functions
84
//
FWModelId::select
void select() const
Definition:
FWModelId.cc:70
FWEventItem::select
void select(int iIndex) const
Definition:
FWEventItem.cc:224
FWModelId::m_item
const FWEventItem * m_item
Definition:
FWModelId.h:56
FWEventItem::unselect
void unselect(int iIndex) const
Definition:
FWEventItem.cc:215
FWModelId.h
FWModelId::toggleSelect
void toggleSelect() const
Definition:
FWModelId.cc:76
FWEventItem.h
FWModelId::unselect
void unselect() const
Definition:
FWModelId.cc:65
FWModelId::m_index
int m_index
Definition:
FWModelId.h:57
FWEventItem::toggleSelect
void toggleSelect(int iIndex) const
Definition:
FWEventItem.cc:236
Generated for CMSSW Reference Manual by
1.8.14