test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondCore
ORA
src
Reference.cc
Go to the documentation of this file.
1
#include "
CondCore/ORA/interface/Reference.h
"
2
3
ora::Reference::Reference
():
4
m_containerId(0),
5
m_itemId(0){
6
}
7
8
ora::Reference::Reference
(
const
OId
& oid ):
9
m_containerId(oid.containerId()),
10
m_itemId(oid.itemId()){
11
}
12
13
ora::Reference::Reference
(
const
ora::Reference
& rhs ):
14
m_containerId(rhs.m_containerId),
15
m_itemId(rhs.m_itemId){
16
}
17
18
ora::Reference::~Reference
(){
19
}
20
21
ora::Reference
&
ora::Reference::operator=
(
const
ora::Reference
& rhs ){
22
m_containerId = rhs.
m_containerId
;
23
m_itemId = rhs.
m_itemId
;
24
return
*
this
;
25
}
26
27
void
ora::Reference::set
(
const
ora::OId
& oid ){
28
m_containerId = oid.
containerId
();
29
m_itemId = oid.
itemId
();
30
}
31
32
ora::OId
ora::Reference::oid
()
const
{
33
return
OId
( m_containerId, m_itemId );
34
}
35
36
37
38
ora::Reference::Reference
Reference()
Definition:
Reference.cc:3
ora::Reference::oid
OId oid() const
Definition:
Reference.cc:32
ora::OId
Definition:
OId.h:8
Reference.h
ora::Reference::operator=
Reference & operator=(const Reference &rhs)
Definition:
Reference.cc:21
ora::Reference::m_itemId
int m_itemId
Definition:
Reference.h:19
ora::Reference
Definition:
Reference.h:8
ora::OId::containerId
int containerId() const
Definition:
OId.cc:50
ora::Reference::~Reference
virtual ~Reference()
Definition:
Reference.cc:18
ora::Reference::m_containerId
int m_containerId
Definition:
Reference.h:18
ora::Reference::set
void set(const OId &oid)
Definition:
Reference.cc:27
ora::OId::itemId
int itemId() const
Definition:
OId.cc:54
Generated for CMSSW Reference Manual by
1.8.5