|
|
|
Pair Class Template ReferenceInheritance diagram for Pair:![]() ![]() Detailed Descriptiontemplate<class Type>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Pair () | |
| Null constructor for lists. | |
| Pair (const Type &f, const Type &s) | |
| Construct from components. | |
| Pair (Istream &is) | |
| Construct from Istream. | |
| const Type & | first () const |
| Return first. | |
| Type & | first () |
| Return first. | |
| const Type & | second () const |
| Return second. | |
| Type & | second () |
| Return second. | |
| Pair< Type > | reversePair () const |
| Return reverse pair. | |
| const Type & | other (const Type &a) const |
| Return other. | |
Friends | |
| bool | operator== (const Pair< Type > &a, const Pair< Type > &b) |
| bool | operator!= (const Pair< Type > &a, const Pair< Type > &b) |
| Pair | ( | ) | [inline] |
Null constructor for lists.
Definition at line 64 of file Pair.H.
References Pair::first(), and Pair::second().
Here is the call graph for this function:

| Pair | ( | const Type & | f, | |
| const Type & | s | |||
| ) | [inline] |
Construct from Istream.
Definition at line 75 of file Pair.H.
References FixedList< Type, 2 >::operator[]().
Here is the call graph for this function:

| const Type& first | ( | ) | const [inline] |
Return first.
Definition at line 84 of file Pair.H.
References FixedList< Type, 2 >::operator[]().
Referenced by Pair::Pair(), Pair::reversePair(), and Pair::second().
Here is the call graph for this function:

Here is the caller graph for this function:

| Type& first | ( | ) | [inline] |
Return first.
Definition at line 90 of file Pair.H.
References FixedList< Type, 2 >::operator[]().
Here is the call graph for this function:

| const Type& second | ( | ) | const [inline] |
Return second.
Definition at line 96 of file Pair.H.
References FixedList< Type, 2 >::operator[]().
Referenced by Pair::Pair(), Pair::reversePair(), and Pair::second().
Here is the call graph for this function:

Here is the caller graph for this function:

| Type& second | ( | ) | [inline] |
Return second.
Definition at line 102 of file Pair.H.
References Pair::first(), and Pair::second().
Here is the call graph for this function:

| Pair<Type> reversePair | ( | ) | const [inline] |
Return reverse pair.
Definition at line 108 of file Pair.H.
References FatalErrorIn, Pair::first(), and Pair::second().
Here is the call graph for this function:

| const Type& other | ( | const Type & | a | ) | const [inline] |