#include <Pair_T.h>
Public Types | |
typedef T1 | first_type |
typedef T2 | second_type |
Public Member Functions | |
ACE_Pair (const T1 &t1, const T2 &t2) | |
Constructor. | |
ACE_Pair (void) | |
Default constructor. | |
T1 & | first (void) |
Get first. | |
const T1 & | first (void) const |
void | first (const T1 &t1) |
Set first. | |
T2 & | second (void) |
Get second. | |
const T2 & | second (void) const |
void | second (const T2 &t2) |
Set second. | |
bool | operator== (const ACE_Pair< T1, T2 > &rhs) const |
Protected Attributes | |
T1 | first_ |
First. | |
T2 | second_ |
Second. |
Similar to the STL pair.
typedef T1 ACE_Pair< T1, T2 >::first_type |
typedef T2 ACE_Pair< T1, T2 >::second_type |
Constructor.
void ACE_Pair< T1, T2 >::first | ( | const T1 & | t1 | ) | [inline] |
Set first.
const T1 & ACE_Pair< T1, T2 >::first | ( | void | ) | const [inline] |
T1 & ACE_Pair< T1, T2 >::first | ( | void | ) | [inline] |
Get first.
bool ACE_Pair< T1, T2 >::operator== | ( | const ACE_Pair< T1, T2 > & | rhs | ) | const [inline] |
void ACE_Pair< T1, T2 >::second | ( | const T2 & | t2 | ) | [inline] |
Set second.
const T2 & ACE_Pair< T1, T2 >::second | ( | void | ) | const [inline] |
T2 & ACE_Pair< T1, T2 >::second | ( | void | ) | [inline] |
Get second.