#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 |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Pair< T1, T2 >::ACE_Pair | ( | const T1 & | t1, | |
const T2 & | t2 | |||
) | [inline] |
Constructor.
Default constructor.
ACE_INLINE T1 & ACE_Pair< T1, T2 >::first | ( | void | ) | [inline] |
Get first.
ACE_INLINE const T1 & ACE_Pair< T1, T2 >::first | ( | void | ) | const [inline] |
ACE_INLINE void ACE_Pair< T1, T2 >::first | ( | const T1 & | t1 | ) | [inline] |
Set first.
ACE_INLINE T2 & ACE_Pair< T1, T2 >::second | ( | void | ) | [inline] |
Get second.
ACE_INLINE const T2 & ACE_Pair< T1, T2 >::second | ( | void | ) | const [inline] |
ACE_INLINE void ACE_Pair< T1, T2 >::second | ( | const T2 & | t2 | ) | [inline] |
Set second.
ACE_INLINE bool ACE_Pair< T1, T2 >::operator== | ( | const ACE_Pair< T1, T2 > & | rhs | ) | const [inline] |