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