CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::Reference Class Reference

#include <Reference.h>

Public Member Functions

OId oid () const
 
Referenceoperator= (const Reference &rhs)
 
 Reference ()
 
 Reference (const OId &oid)
 
 Reference (const Reference &rhs)
 
void set (const OId &oid)
 
virtual ~Reference ()
 

Private Attributes

int m_containerId
 
int m_itemId
 

Detailed Description

Definition at line 8 of file Reference.h.

Constructor & Destructor Documentation

ora::Reference::Reference ( )

Definition at line 3 of file Reference.cc.

3  :
4  m_containerId(0),
5  m_itemId(0){
6 }
int m_containerId
Definition: Reference.h:18
ora::Reference::Reference ( const OId oid)
explicit

Definition at line 8 of file Reference.cc.

8  :
10  m_itemId(oid.itemId()){
11 }
OId oid() const
Definition: Reference.cc:32
int containerId() const
Definition: OId.cc:50
int m_containerId
Definition: Reference.h:18
int itemId() const
Definition: OId.cc:54
ora::Reference::Reference ( const Reference rhs)

Definition at line 13 of file Reference.cc.

13  :
14  m_containerId(rhs.m_containerId),
15  m_itemId(rhs.m_itemId){
16 }
int m_containerId
Definition: Reference.h:18
ora::Reference::~Reference ( )
virtual

Definition at line 18 of file Reference.cc.

18  {
19 }

Member Function Documentation

ora::OId ora::Reference::oid ( ) const

Definition at line 32 of file Reference.cc.

32  {
33  return OId( m_containerId, m_itemId );
34 }
int m_containerId
Definition: Reference.h:18
ora::Reference & ora::Reference::operator= ( const Reference rhs)

Definition at line 21 of file Reference.cc.

References m_containerId, and m_itemId.

21  {
22  m_containerId = rhs.m_containerId;
23  m_itemId = rhs.m_itemId;
24  return *this;
25 }
int m_containerId
Definition: Reference.h:18
void ora::Reference::set ( const OId oid)

Definition at line 27 of file Reference.cc.

References ora::OId::containerId(), and ora::OId::itemId().

27  {
29  m_itemId = oid.itemId();
30 }
OId oid() const
Definition: Reference.cc:32
int containerId() const
Definition: OId.cc:50
int m_containerId
Definition: Reference.h:18
int itemId() const
Definition: OId.cc:54

Member Data Documentation

int ora::Reference::m_containerId
private

Definition at line 18 of file Reference.h.

Referenced by operator=().

int ora::Reference::m_itemId
private

Definition at line 19 of file Reference.h.

Referenced by operator=().