Simple Application Framework
1
|
A pair of values which may be of a different data type. More...
#include <Triplet.h>
Public Types | |
typedef T3 | ThirdMemberType |
Third member type. | |
Public Member Functions | |
Triplet () | |
Default constructor. | |
Triplet (const T1 &v1) | |
Constructor. | |
Triplet (const T1 &v1, const T2 &v2) | |
Constructor. | |
Triplet (const T1 &v1, const T2 &v2, const T3 &v3) | |
Constructor. | |
Triplet (const Triplet< T1, T2, T3 > &t) | |
Copy constructor. | |
Triplet< T1, T2, T3 > & | operator= (const Triplet< T1, T2, T3 > &t) |
Assignment operator. | |
void | Swap (Triplet< T1, T2, T3 > &t) |
Swap the content of two triplets. | |
Public Attributes | |
T3 | m_third |
Third element. |
A pair of values which may be of a different data type.
typedef T3 Saf::Collection::Triplet< T1, T2, T3 >::ThirdMemberType |
Third member type.
Saf::Collection::Triplet< T1, T2, T3 >::Triplet | ( | ) | [inline] |
Default constructor.
Saf::Collection::Triplet< T1, T2, T3 >::Triplet | ( | const T1 & | v1 | ) | [inline, explicit] |
Constructor.
The second and third member is constructed using its default constructor.
Saf::Collection::Triplet< T1, T2, T3 >::Triplet | ( | const T1 & | v1, |
const T2 & | v2 | ||
) | [inline] |
Constructor.
The third member is constructed using its default constructor.
Saf::Collection::Triplet< T1, T2, T3 >::Triplet | ( | const T1 & | v1, |
const T2 & | v2, | ||
const T3 & | v3 | ||
) | [inline] |
Constructor.
Saf::Collection::Triplet< T1, T2, T3 >::Triplet | ( | const Triplet< T1, T2, T3 > & | t | ) | [inline] |
Copy constructor.
Triplet<T1,T2,T3>& Saf::Collection::Triplet< T1, T2, T3 >::operator= | ( | const Triplet< T1, T2, T3 > & | t | ) | [inline] |
Assignment operator.
void Saf::Collection::Triplet< T1, T2, T3 >::Swap | ( | Triplet< T1, T2, T3 > & | t | ) | [inline] |
Swap the content of two triplets.
T3 Saf::Collection::Triplet< T1, T2, T3 >::m_third |
Third element.