#include <Reference.h>
Public Member Functions | |
OId | oid () const |
Reference & | operator= (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 |
Definition at line 8 of file Reference.h.
ora::Reference::Reference | ( | ) |
Definition at line 3 of file Reference.cc.
: m_containerId(0), m_itemId(0){ }
ora::Reference::Reference | ( | const OId & | oid | ) | [explicit] |
Definition at line 8 of file Reference.cc.
: m_containerId(oid.containerId()), m_itemId(oid.itemId()){ }
ora::Reference::Reference | ( | const Reference & | rhs | ) |
Definition at line 13 of file Reference.cc.
: m_containerId(rhs.m_containerId), m_itemId(rhs.m_itemId){ }
ora::Reference::~Reference | ( | ) | [virtual] |
Definition at line 18 of file Reference.cc.
{ }
ora::OId ora::Reference::oid | ( | ) | const |
Definition at line 32 of file Reference.cc.
{ return OId( m_containerId, m_itemId ); }
ora::Reference & ora::Reference::operator= | ( | const Reference & | rhs | ) |
Definition at line 21 of file Reference.cc.
References m_containerId, and m_itemId.
{ m_containerId = rhs.m_containerId; m_itemId = rhs.m_itemId; return *this; }
void ora::Reference::set | ( | const OId & | oid | ) |
Definition at line 27 of file Reference.cc.
References ora::OId::containerId(), and ora::OId::itemId().
{ m_containerId = oid.containerId(); m_itemId = oid.itemId(); }
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=().