Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
//
21
// constants, enums and typedefs
22
//
23
24
//
25
// static data member definitions
26
//
27
28
//
29
// constructors and destructor
30
//
31
/*
32
FWModelId::FWModelId()
33
{
34
}
35
*/
36
// FWModelId::FWModelId(const FWModelId& rhs)
37
// {
38
// // do actual copying here;
39
// }
40
41
/*
42
FWModelId::~FWModelId()
43
{
44
}
45
*/
46
47
//
48
// assignment operators
49
//
50
// const FWModelId& FWModelId::operator=(const FWModelId& rhs)
51
// {
52
// //An exception safe implementation is
53
// FWModelId temp(rhs);
54
// swap(rhs);
55
//
56
// return *this;
57
// }
58
59
//
60
// member functions
61
//
62
63
//
64
// const member functions
65
//
66
void
67
FWModelId::unselect
()
const
{
68
if
(
m_item
) {
m_item
->
unselect
(
m_index
);}
69
}
70
void
71
FWModelId::select
()
const
{
72
if
(
m_item
) {
m_item
->
select
(
m_index
);}
73
}
74
75
void
76
FWModelId::toggleSelect
()
const
{
77
if
(
m_item
) {
m_item
->
toggleSelect
(
m_index
);}
78
}
79
80
//
81
// static member functions
82
//
FWEventItem::unselect
void unselect(int iIndex) const
Definition:
FWEventItem.cc:250
FWModelId::m_item
const FWEventItem * m_item
Definition:
FWModelId.h:68
FWModelId::unselect
void unselect() const
Definition:
FWModelId.cc:67
FWModelId.h
FWModelId::select
void select() const
Definition:
FWModelId.cc:71
FWEventItem.h
FWEventItem::toggleSelect
void toggleSelect(int iIndex) const
Definition:
FWEventItem.cc:275
FWModelId::m_index
int m_index
Definition:
FWModelId.h:69
FWModelId::toggleSelect
void toggleSelect() const
Definition:
FWModelId.cc:76
FWEventItem::select
void select(int iIndex) const
Definition:
FWEventItem.cc:261
Generated for CMSSW Reference Manual by
1.8.5