#include <RelKey.h>
Public Member Functions | |
T1 * | getData () |
const T1 * | getData () const |
T1 * | getData () |
const T1 * | getData () const |
Relation< T2, T3 > * | getFirst () |
Relation< T2, T3 > * | getFirst () |
Relation< T2, T3 > * | getPrev () |
Relation< T2, T3 > * | getPrev () |
Relation< T2, T3 > * | getSame () |
Relation< T2, T3 > * | getSame () |
RelKey (T1 *obj) | |
RelKey () | |
RelKey (T1 *obj) | |
RelKey () | |
void | setData (T1 *obj) |
void | setData (T1 *obj) |
void | setFirst (Relation< T2, T3 > *rel) |
void | setFirst (Relation< T2, T3 > *rel) |
void | setPrev (Relation< T2, T3 > *rel) |
void | setPrev (Relation< T2, T3 > *rel) |
void | setSame (Relation< T2, T3 > *rel) |
void | setSame (Relation< T2, T3 > *rel) |
void | toStream (std::ostream &s) const |
Fill the ASCII output stream. | |
void | toStream (std::ostream &s) const |
Fill the ASCII output stream. | |
~RelKey () | |
~RelKey () | |
Private Attributes | |
SmartRef< T1 > | m_data |
Pointer to the object to be related. | |
SmartRef< T1 > | m_data |
Pointer to the object to be related. | |
SmartRef< Relation< T2, T3 > > | m_first |
Pointer to the first relation which not contains m_data. | |
SmartRef< Relation< T2, T3 > > | m_first |
Pointer to the first relation which not contains m_data. | |
SmartRef< Relation< T2, T3 > > | m_prev |
Pointer to the previous relation. | |
SmartRef< Relation< T2, T3 > > | m_prev |
Pointer to the previous relation. | |
SmartRef< Relation< T2, T3 > > | m_same |
Pointer to the next relation containing m_data. | |
SmartRef< Relation< T2, T3 > > | m_same |
Pointer to the next relation containing m_data. |
|
00035 {}
|
|
00036 : m_data(obj) {}
|
|
00038 {}
|
|
00035 {}
|
|
00036 : m_data(obj) {}
|
|
00038 {}
|
|
00042 {return m_data;}
|
|
00041 { return m_data;}
|
|
00042 {return m_data;}
|
|
00041 { return m_data;}
|
|
00051 {return m_first;}
|
|
00051 {return m_first;}
|
|
00045 {return m_prev;}
|
|
00045 {return m_prev;}
|
|
00048 {return m_same;}
|
|
00048 {return m_same;}
|
|
00040 {m_data = obj;}
|
|
00040 {m_data = obj;}
|
|
00050 {m_first = rel;}
|
|
00050 {m_first = rel;}
|
|
00044 {m_prev = rel;}
|
|
00044 {m_prev = rel;}
|
|
00047 {m_same = rel;}
|
|
00047 {m_same = rel;}
|
|
Fill the ASCII output stream.
|
|
Fill the ASCII output stream. Fill the ASCII output stream 00072 { 00074 s << "\n Data = " << m_data 00075 << "\n Previous Relation = " << m_prev 00076 << "\n Next Relation = " << m_same 00077 << "\n First Different Data = " << m_first; 00078 }
|
|
Pointer to the object to be related.
|
|
Pointer to the object to be related.
|
|
Pointer to the first relation which not contains m_data.
|
|
Pointer to the first relation which not contains m_data.
|
|
Pointer to the previous relation.
|
|
Pointer to the previous relation.
|
|
Pointer to the next relation containing m_data.
|
|
Pointer to the next relation containing m_data.
|