#include <CTBpair.hxx>
Inheritance diagram for CTBpair:


Public Methods | |
| CTBpair () | |
| CTBpair (const K &key) | |
| CTBpair (const K &key, const V &value) | |
| K & | Key () |
| const K & | Key () const |
| V & | Value () |
| const V & | Value () const |
Private Attributes | |
| K | m_key |
| V | m_value |
The class CTBpair represents a pair of two entities of types K and V. It is mainly used in associative containers like CTBmap, therefore the first terminology: key of type K for the first and value of type V for the second member of the pair.
Definition at line 17 of file CTBpair.hxx.
|
|||||||||
|
Default constructor.
Definition at line 27 of file CTBpair.icc. |
|
||||||||||
|
Construct from key only.
Definition at line 34 of file CTBpair.icc. |
|
|||||||||||||||||||
|
Construct from key and value.
Definition at line 42 of file CTBpair.icc. |
|
|||||||||
|
Access key.
Definition at line 51 of file CTBpair.icc. Referenced by CTBmap::Insert(), and CTBmapNode::Key().
|
|
|||||||||
|
Constant access key.
Definition at line 60 of file CTBpair.icc. |
|
|||||||||
|
Access value.
Definition at line 69 of file CTBpair.icc. Referenced by CTBmapNode::Value().
|
|
|||||||||
|
Constant access value.
Definition at line 78 of file CTBpair.icc. |
|
|||||
|
the key object.
Definition at line 30 of file CTBpair.hxx. |
|
|||||
|
the value object.
Definition at line 31 of file CTBpair.hxx. |
1.2.9-20010812 written by Dimitri van Heesch,
© 1997-2001