#include <Pair_T.h>
Collaboration diagram for ACE_Reference_Pair< T1, T2 >:
Public Types | |
typedef T1 | first_type |
typedef T2 | second_type |
Public Member Functions | |
ACE_Reference_Pair (T1 &t1, T2 &t2) | |
Constructor. | |
T1 & | first (void) const |
Access first. | |
T2 & | second (void) const |
Access second. | |
bool | operator== (const ACE_Reference_Pair< T1, T2 > &rhs) const |
Protected Attributes | |
T1 & | first_ |
First. | |
T2 & | second_ |
Second. |
Similar to the STL pair (but restricted to holding references and not copies).
Definition at line 84 of file Pair_T.h.
typedef T1 ACE_Reference_Pair< T1, T2 >::first_type |
typedef T2 ACE_Reference_Pair< T1, T2 >::second_type |
ACE_INLINE ACE_Reference_Pair< T1, T2 >::ACE_Reference_Pair | ( | T1 & | t1, | |
T2 & | t2 | |||
) |
ACE_INLINE T1 & ACE_Reference_Pair< T1, T2 >::first | ( | void | ) | const |
Access first.
Definition at line 72 of file Pair_T.inl.
References ACE_Reference_Pair< T1, T2 >::first_.
00073 { 00074 return this->first_; 00075 }
ACE_INLINE bool ACE_Reference_Pair< T1, T2 >::operator== | ( | const ACE_Reference_Pair< T1, T2 > & | rhs | ) | const |
Definition at line 84 of file Pair_T.inl.
References ACE_Reference_Pair< T1, T2 >::first_, and ACE_Reference_Pair< T1, T2 >::second_.
ACE_INLINE T2 & ACE_Reference_Pair< T1, T2 >::second | ( | void | ) | const |
Access second.
Definition at line 78 of file Pair_T.inl.
References ACE_Reference_Pair< T1, T2 >::second_.
00079 { 00080 return this->second_; 00081 }
T1& ACE_Reference_Pair< T1, T2 >::first_ [protected] |
First.
Definition at line 108 of file Pair_T.h.
Referenced by ACE_Reference_Pair< T1, T2 >::first(), and ACE_Reference_Pair< T1, T2 >::operator==().
T2& ACE_Reference_Pair< T1, T2 >::second_ [protected] |
Second.
Definition at line 111 of file Pair_T.h.
Referenced by ACE_Reference_Pair< T1, T2 >::operator==(), and ACE_Reference_Pair< T1, T2 >::second().