Tuples of two elements (2-tuples).
More...
#include <ogdf/basic/tuples.h>
|
| Tuple2 ()=default |
| Constructs a 2-tuple using default constructors. More...
|
|
| Tuple2 (const E1 &y1, const E2 &y2) |
| Constructs a 2-tuple for given values. More...
|
|
E1 & | x1 () |
| Returns a reference the first element. More...
|
|
const E1 & | x1 () const |
| Returns a reference the first element. More...
|
|
E2 & | x2 () |
| Returns a reference the second element. More...
|
|
const E2 & | x2 () const |
| Returns a reference the second element. More...
|
|
template<class E1, class E2>
class ogdf::Tuple2< E1, E2 >
Tuples of two elements (2-tuples).
- Template Parameters
-
E1 | is the data type for the first element. |
E2 | is the data type for the second element. |
Definition at line 49 of file tuples.h.
◆ Tuple2() [1/2]
template<class E1 , class E2 >
Constructs a 2-tuple using default constructors.
◆ Tuple2() [2/2]
template<class E1 , class E2 >
Constructs a 2-tuple for given values.
Definition at line 58 of file tuples.h.
◆ x1() [1/2]
template<class E1 , class E2 >
Returns a reference the first element.
Definition at line 67 of file tuples.h.
◆ x1() [2/2]
template<class E1 , class E2 >
Returns a reference the first element.
Definition at line 61 of file tuples.h.
◆ x2() [1/2]
template<class E1 , class E2 >
Returns a reference the second element.
Definition at line 70 of file tuples.h.
◆ x2() [2/2]
template<class E1 , class E2 >
Returns a reference the second element.
Definition at line 64 of file tuples.h.
◆ m_x1
template<class E1 , class E2 >
The first element.
Definition at line 51 of file tuples.h.
◆ m_x2
template<class E1 , class E2 >
The second element.
Definition at line 52 of file tuples.h.
The documentation for this class was generated from the following file: