#include <RelKey.h>
Public Member Functions | |
RelKey () | |
RelKey (T1 *obj) | |
~RelKey () | |
void | setData (T1 *obj) |
const T1 * | getData () const |
T1 * | getData () |
void | setPrev (Relation< T2, T3 > *rel) |
Relation< T2, T3 > * | getPrev () |
void | setSame (Relation< T2, T3 > *rel) |
Relation< T2, T3 > * | getSame () |
void | setFirst (Relation< T2, T3 > *rel) |
Relation< T2, T3 > * | getFirst () |
void | toStream (std::ostream &s) const |
Fill the ASCII output stream. | |
Private Attributes | |
SmartRef< T1 > | m_data |
Pointer to the object to be related. | |
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_first |
Pointer to the first relation which not contains m_data. |
Definition at line 31 of file RelKey.h.
Event::RelKey< T1, T2, T3 >::RelKey | ( | ) | [inline] |
Event::RelKey< T1, T2, T3 >::RelKey | ( | T1 * | obj | ) | [inline] |
Event::RelKey< T1, T2, T3 >::~RelKey | ( | ) | [inline] |
T1* Event::RelKey< T1, T2, T3 >::getData | ( | ) | [inline] |
const T1* Event::RelKey< T1, T2, T3 >::getData | ( | ) | const [inline] |
Definition at line 41 of file RelKey.h.
Referenced by Event::Relation< RecMdcHit, RecMdcTrack >::getFirst(), and Event::Relation< RecMdcHit, RecMdcTrack >::getSecond().
00041 { return m_data;}
Relation<T2,T3>* Event::RelKey< T1, T2, T3 >::getFirst | ( | ) | [inline] |
Definition at line 51 of file RelKey.h.
Referenced by Event::RelTable< T1, T2 >::removeFirst(), and Event::RelTable< T1, T2 >::removeSecond().
00051 {return m_first;}
Relation<T2,T3>* Event::RelKey< T1, T2, T3 >::getPrev | ( | ) | [inline] |
Definition at line 45 of file RelKey.h.
Referenced by Event::RelTable< T1, T2 >::removeFirst(), and Event::RelTable< T1, T2 >::removeSecond().
00045 {return m_prev;}
Relation<T2,T3>* Event::RelKey< T1, T2, T3 >::getSame | ( | ) | [inline] |
Definition at line 48 of file RelKey.h.
Referenced by Event::RelTable< T1, T2 >::findDup(), Event::RelTable< T1, T2 >::removeFirst(), and Event::RelTable< T1, T2 >::removeSecond().
00048 {return m_same;}
void Event::RelKey< T1, T2, T3 >::setData | ( | T1 * | obj | ) | [inline] |
Definition at line 40 of file RelKey.h.
Referenced by Event::Relation< RecMdcHit, RecMdcTrack >::setFirst(), and Event::Relation< RecMdcHit, RecMdcTrack >::setSecond().
00040 {m_data = obj;}
void Event::RelKey< T1, T2, T3 >::setFirst | ( | Relation< T2, T3 > * | rel | ) | [inline] |
Definition at line 50 of file RelKey.h.
Referenced by Event::RelTable< T1, T2 >::removeFirst(), and Event::RelTable< T1, T2 >::removeSecond().
00050 {m_first = rel;}
void Event::RelKey< T1, T2, T3 >::setPrev | ( | Relation< T2, T3 > * | rel | ) | [inline] |
Definition at line 44 of file RelKey.h.
Referenced by Event::RelTable< T1, T2 >::bindRelationFirst(), Event::RelTable< T1, T2 >::bindRelationNoDup(), Event::RelTable< T1, T2 >::bindRelationSecond(), Event::RelTable< T1, T2 >::removeFirst(), and Event::RelTable< T1, T2 >::removeSecond().
00044 {m_prev = rel;}
void Event::RelKey< T1, T2, T3 >::setSame | ( | Relation< T2, T3 > * | rel | ) | [inline] |
Definition at line 47 of file RelKey.h.
Referenced by Event::RelTable< T1, T2 >::bindRelationFirst(), Event::RelTable< T1, T2 >::bindRelationNoDup(), Event::RelTable< T1, T2 >::bindRelationSecond(), Event::RelTable< T1, T2 >::removeFirst(), and Event::RelTable< T1, T2 >::removeSecond().
00047 {m_same = rel;}
void RelKey::toStream | ( | std::ostream & | s | ) | const [inline] |
Fill the ASCII output stream.
Fill the ASCII output stream
Definition at line 71 of file RelKey.h.
References Event::RelKey< T1, T2, T3 >::m_data, Event::RelKey< T1, T2, T3 >::m_first, Event::RelKey< T1, T2, T3 >::m_prev, and Event::RelKey< T1, T2, T3 >::m_same.
Referenced by Event::Relation< T1, T2 >::fillStream().
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 }
SmartRef<T1> Event::RelKey< T1, T2, T3 >::m_data [private] |
Pointer to the object to be related.
Definition at line 59 of file RelKey.h.
Referenced by Event::RelKey< T2, T1, T2 >::getData(), Event::RelKey< T2, T1, T2 >::setData(), and Event::RelKey< T1, T2, T3 >::toStream().
SmartRef< Relation<T2,T3> > Event::RelKey< T1, T2, T3 >::m_first [private] |
Pointer to the first relation which not contains m_data.
Definition at line 65 of file RelKey.h.
Referenced by Event::RelKey< T2, T1, T2 >::getFirst(), Event::RelKey< T2, T1, T2 >::setFirst(), and Event::RelKey< T1, T2, T3 >::toStream().
SmartRef< Relation<T2,T3> > Event::RelKey< T1, T2, T3 >::m_prev [private] |
Pointer to the previous relation.
Definition at line 61 of file RelKey.h.
Referenced by Event::RelKey< T2, T1, T2 >::getPrev(), Event::RelKey< T2, T1, T2 >::setPrev(), and Event::RelKey< T1, T2, T3 >::toStream().
SmartRef< Relation<T2,T3> > Event::RelKey< T1, T2, T3 >::m_same [private] |
Pointer to the next relation containing m_data.
Definition at line 63 of file RelKey.h.
Referenced by Event::RelKey< T2, T1, T2 >::getSame(), Event::RelKey< T2, T1, T2 >::setSame(), and Event::RelKey< T1, T2, T3 >::toStream().