BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::RelKey< T1, T2, T3 > Class Template Reference

#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.
 

Detailed Description

template<class T1, class T2, class T3>
class Event::RelKey< T1, T2, T3 >

Definition at line 31 of file RelKey.h.

Constructor & Destructor Documentation

◆ RelKey() [1/2]

template<class T1 , class T2 , class T3 >
Event::RelKey< T1, T2, T3 >::RelKey ( )
inline

Definition at line 35 of file RelKey.h.

35{}

◆ RelKey() [2/2]

template<class T1 , class T2 , class T3 >
Event::RelKey< T1, T2, T3 >::RelKey ( T1 *  obj)
inline

Definition at line 36 of file RelKey.h.

36: m_data(obj) {}

◆ ~RelKey()

template<class T1 , class T2 , class T3 >
Event::RelKey< T1, T2, T3 >::~RelKey ( )
inline

Definition at line 38 of file RelKey.h.

38{}

Member Function Documentation

◆ getData() [1/2]

template<class T1 , class T2 , class T3 >
T1 * Event::RelKey< T1, T2, T3 >::getData ( )
inline

Definition at line 42 of file RelKey.h.

42{return m_data;}

◆ getData() [2/2]

template<class T1 , class T2 , class T3 >
const T1 * Event::RelKey< T1, T2, T3 >::getData ( ) const
inline

Definition at line 41 of file RelKey.h.

41{ return m_data;}

Referenced by Event::Relation< T1, T2 >::getFirst(), and Event::Relation< T1, T2 >::getSecond().

◆ getFirst()

template<class T1 , class T2 , class T3 >
Relation< T2, T3 > * Event::RelKey< T1, T2, T3 >::getFirst ( )
inline

Definition at line 51 of file RelKey.h.

51{return m_first;}

◆ getPrev()

template<class T1 , class T2 , class T3 >
Relation< T2, T3 > * Event::RelKey< T1, T2, T3 >::getPrev ( )
inline

Definition at line 45 of file RelKey.h.

45{return m_prev;}

◆ getSame()

template<class T1 , class T2 , class T3 >
Relation< T2, T3 > * Event::RelKey< T1, T2, T3 >::getSame ( )
inline

Definition at line 48 of file RelKey.h.

48{return m_same;}

◆ setData()

template<class T1 , class T2 , class T3 >
void Event::RelKey< T1, T2, T3 >::setData ( T1 *  obj)
inline

Definition at line 40 of file RelKey.h.

40{m_data = obj;}

◆ setFirst()

template<class T1 , class T2 , class T3 >
void Event::RelKey< T1, T2, T3 >::setFirst ( Relation< T2, T3 > *  rel)
inline

Definition at line 50 of file RelKey.h.

50{m_first = rel;}

◆ setPrev()

template<class T1 , class T2 , class T3 >
void Event::RelKey< T1, T2, T3 >::setPrev ( Relation< T2, T3 > *  rel)
inline

Definition at line 44 of file RelKey.h.

44{m_prev = rel;}

◆ setSame()

template<class T1 , class T2 , class T3 >
void Event::RelKey< T1, T2, T3 >::setSame ( Relation< T2, T3 > *  rel)
inline

Definition at line 47 of file RelKey.h.

47{m_same = rel;}

◆ toStream()

template<class T1 , class T2 , class T3 >
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.

72{
73 /// Fill the ASCII output stream
74 s << "\n Data = " << m_data
75 << "\n Previous Relation = " << m_prev
76 << "\n Next Relation = " << m_same
77 << "\n First Different Data = " << m_first;
78}
XmlRpcServer s
Definition: HelloServer.cpp:11

Referenced by Event::Relation< T1, T2 >::fillStream().


The documentation for this class was generated from the following file: