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. | |
typedef T2 | second_type |
The type of the second member. | |
typedef T3 | third_type |
The type of the third member. | |
Public Member Functions | |
Triplet () | |
Default construcotr. | |
Triplet (const T1 &t1, const T2 &t2, const T3 &t3) | |
Constructor specifying the three members. | |
Triplet (const Triplet< T1, T2, T3 > &t) | |
Copy constructor. | |
template<typename U1 , typename U2 , typename U3 > | |
Triplet (const Triplet< U1, U2, U3 > &u) | |
Copy constructor from other Triplet type. | |
bool | operator== (const Triplet< T1, T2, T3 > &t) const |
Test for equality. | |
bool | operator< (const Triplet< T1, T2, T3 > &t) const |
Test for ordering. | |
Public Attributes | |
T1 | first |
The first member. | |
T2 | second |
The second member. | |
T3 | third |
The third member. | |
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, ThePEG::Triplet< T1, T2, T3 >::second, and ThePEG::Triplet< T1, T2, T3 >::third.
|
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<(), and ThePEG::Triplet< T1, T2, T3 >::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::Triplet< T1, T2, T3 >::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::Triplet< T1, T2, T3 >::operator==().