test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Reference.cc
Go to the documentation of this file.
2 
4  m_containerId(0),
5  m_itemId(0){
6 }
7 
9  m_containerId(oid.containerId()),
10  m_itemId(oid.itemId()){
11 }
12 
14  m_containerId(rhs.m_containerId),
15  m_itemId(rhs.m_itemId){
16 }
17 
19 }
20 
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 
33  return OId( m_containerId, m_itemId );
34 }
35 
36 
37 
38 
OId oid() const
Definition: Reference.cc:32
Definition: OId.h:8
Reference & operator=(const Reference &rhs)
Definition: Reference.cc:21
int containerId() const
Definition: OId.cc:50
virtual ~Reference()
Definition: Reference.cc:18
int m_containerId
Definition: Reference.h:18
void set(const OId &oid)
Definition: Reference.cc:27
int itemId() const
Definition: OId.cc:54