#include <Pair_T.h>
Inheritance diagram for ACE_Pair:


Public Types | |
| typedef T1 | first_type |
| typedef T2 | second_type |
Public Methods | |
| ACE_Pair (const T1 &t1, const T2 &t2) | |
| Constructor. More... | |
| ACE_Pair (void) | |
| Default constructor. More... | |
| T1 & | first (void) |
| Get first. More... | |
| const T1 & | first (void) const |
| void | first (const T1 &t1) |
| Set first. More... | |
| T2 & | second (void) |
| Get second. More... | |
| const T2 & | second (void) const |
| void | second (const T2 &t2) |
| Set second. More... | |
| int | operator== (const ACE_Pair< T1, T2 > &rhs) const |
Protected Attributes | |
| T1 | first_ |
| First. More... | |
| T2 | second_ |
| Second. More... | |
Similar to the STL pair.
Definition at line 32 of file Pair_T.h.
|
|||||
|
|
|
|||||
|
|
|
||||||||||||||||
|
Constructor.
Definition at line 4 of file Pair_T.i.
|
|
||||||||||
|
Default constructor.
Definition at line 12 of file Pair_T.i.
00013 {
00014 }
|
|
||||||||||
|
Set first.
Definition at line 29 of file Pair_T.i. References first_.
00030 {
00031 this->first_ = t1;
00032 }
|
|
||||||||||
|
Definition at line 23 of file Pair_T.i. References first_.
00024 {
00025 return this->first_;
00026 }
|
|
||||||||||
|
Get first.
Definition at line 17 of file Pair_T.i. References first_. Referenced by ACE_Cache_Map_Manager::find, ACE_Cache_Map_Manager::rebind, ACE_Cache_Map_Manager::trybind, and ACE_Cache_Map_Manager::unbind.
00018 {
00019 return this->first_;
00020 }
|
|
||||||||||
|
Definition at line 53 of file Pair_T.i. References first_, and second_.
|
|
||||||||||
|
Set second.
Definition at line 47 of file Pair_T.i. References second_.
00048 {
00049 this->second_ = t2;
00050 }
|
|
||||||||||
|
Definition at line 41 of file Pair_T.i. References second_.
00042 {
00043 return this->second_;
00044 }
|
|
||||||||||
|
Get second.
Definition at line 35 of file Pair_T.i. References second_. Referenced by ACE_Cache_Map_Manager::bind, ACE_Cache_Map_Manager::find, ACE_Cache_Map_Manager::rebind, ACE_Cache_Map_Manager::trybind, and ACE_Cache_Map_Manager::unbind.
00036 {
00037 return this->second_;
00038 }
|
|
|||||
|
First.
Definition at line 67 of file Pair_T.h. Referenced by first, and operator==. |
|
|||||
|
Second.
Definition at line 70 of file Pair_T.h. Referenced by operator==, and second. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002