|
ThePEG
1.8.0
|
The Triplet class represents a general triplet of objects completely analogous to std::pair.
More...
#include <Triplet.h>
Public Types | |
| typedef T1 | first_type |
| The type of the first member. More... | |
| typedef T2 | second_type |
| The type of the second member. More... | |
| typedef T3 | third_type |
| The type of the third member. More... | |
Public Member Functions | |
| Triplet () | |
| Default construcotr. More... | |
| Triplet (const T1 &t1, const T2 &t2, const T3 &t3) | |
| Constructor specifying the three members. More... | |
| Triplet (const Triplet< T1, T2, T3 > &t) | |
| Copy constructor. More... | |
| template<typename U1 , typename U2 , typename U3 > | |
| Triplet (const Triplet< U1, U2, U3 > &u) | |
| Copy constructor from other Triplet type. More... | |
| bool | operator== (const Triplet< T1, T2, T3 > &t) const |
| Test for equality. More... | |
| bool | operator< (const Triplet< T1, T2, T3 > &t) const |
| Test for ordering. More... | |
Public Attributes | |
| T1 | first |
| The first member. More... | |
| T2 | second |
| The second member. More... | |
| T3 | third |
| The third member. More... | |
The Triplet class represents a general triplet of objects completely analogous to std::pair.
| typedef T1 ThePEG::Triplet< T1, T2, T3 >::first_type |
| typedef T2 ThePEG::Triplet< T1, T2, T3 >::second_type |
| typedef T3 ThePEG::Triplet< T1, T2, T3 >::third_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Test for ordering.
first < t.first || ( * !(t.first < first) && ( second < t.second || ( !(t.second < second) && third < t.third ))) Definition at line 62 of file Triplet.h.
References ThePEG::Triplet< T1, T2, T3 >::first.
|
inline |
Test for equality.
Definition at line 54 of file Triplet.h.
References ThePEG::Triplet< T1, T2, T3 >::first, ThePEG::Triplet< T1, T2, T3 >::second, and ThePEG::Triplet< T1, T2, T3 >::third.
| T1 ThePEG::Triplet< T1, T2, T3 >::first |
The first member.
Definition at line 31 of file Triplet.h.
Referenced by ThePEG::Triplet< T1, T2, T3 >::operator<(), ThePEG::Triplet< T1, T2, T3 >::operator==(), and ThePEG::operator>>().
| T2 ThePEG::Triplet< T1, T2, T3 >::second |
The second member.
Definition at line 33 of file Triplet.h.
Referenced by ThePEG::Triplet< T1, T2, T3 >::operator==(), and ThePEG::operator>>().
| T3 ThePEG::Triplet< T1, T2, T3 >::third |
The third member.
Definition at line 35 of file Triplet.h.
Referenced by ThePEG::Triplet< T1, T2, T3 >::operator==(), and ThePEG::operator>>().
1.8.9.1