00001 #ifndef INCLUDE_ORA_REFERENCE_H 00002 #define INCLUDE_ORA_REFERENCE_H 00003 00004 #include "OId.h" 00005 00006 namespace ora { 00007 00008 class Reference { 00009 public: 00010 Reference( ); 00011 explicit Reference( const OId& oid ); 00012 Reference( const Reference& rhs ); 00013 virtual ~Reference(); 00014 Reference& operator=( const Reference& rhs ); 00015 void set( const OId& oid ); 00016 OId oid() const; 00017 private: 00018 int m_containerId; 00019 int m_itemId; 00020 }; 00021 00022 } 00023 00024 #endif 00025 00026 00027