Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ > Class Template Reference

#include <ogdf/basic/tuples.h>

Public Member Functions

 HashFuncTuple ()
 
 HashFuncTuple (const Hash1_ &hash1, const Hash2_ &hash2)
 
size_t hash (const Tuple2< K1_, K2_ > &key) const
 

Private Attributes

Hash1_ m_hash1
 
Hash2_ m_hash2
 

Detailed Description

template<typename K1_, typename K2_, typename Hash1_ = DefHashFunc<K1_>, typename Hash2_ = DefHashFunc<K2_>>
class ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ >

Definition at line 98 of file tuples.h.

Constructor & Destructor Documentation

◆ HashFuncTuple() [1/2]

template<typename K1_ , typename K2_ , typename Hash1_ = DefHashFunc<K1_>, typename Hash2_ = DefHashFunc<K2_>>
ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ >::HashFuncTuple ( )
inline

Definition at line 100 of file tuples.h.

◆ HashFuncTuple() [2/2]

template<typename K1_ , typename K2_ , typename Hash1_ = DefHashFunc<K1_>, typename Hash2_ = DefHashFunc<K2_>>
ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ >::HashFuncTuple ( const Hash1_ hash1,
const Hash2_ hash2 
)
inline

Definition at line 102 of file tuples.h.

Member Function Documentation

◆ hash()

template<typename K1_ , typename K2_ , typename Hash1_ = DefHashFunc<K1_>, typename Hash2_ = DefHashFunc<K2_>>
size_t ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ >::hash ( const Tuple2< K1_, K2_ > &  key) const
inline

Definition at line 104 of file tuples.h.

Member Data Documentation

◆ m_hash1

template<typename K1_ , typename K2_ , typename Hash1_ = DefHashFunc<K1_>, typename Hash2_ = DefHashFunc<K2_>>
Hash1_ ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ >::m_hash1
private

Definition at line 109 of file tuples.h.

◆ m_hash2

template<typename K1_ , typename K2_ , typename Hash1_ = DefHashFunc<K1_>, typename Hash2_ = DefHashFunc<K2_>>
Hash2_ ogdf::HashFuncTuple< K1_, K2_, Hash1_, Hash2_ >::m_hash2
private

Definition at line 110 of file tuples.h.


The documentation for this class was generated from the following file: