TdZdd  1.1
A top-down/breadth-first decision diagram manipulation framework
Public Member Functions | Public Attributes | Friends | List of all members
tdzdd::MyHashMapEntry< K, V > Struct Template Reference

Entry for a hash map. More...

#include <MyHashTable.hpp>

Public Member Functions

bool operator== (MyHashMapEntry const &o) const
 Check key's equivalence between another object. More...
 
bool operator< (MyHashMapEntry const &o) const
 Check the order of keys with another object. More...
 

Public Attributes

key
 The key.
 
value
 The value.
 

Friends

std::ostream & operator<< (std::ostream &os, MyHashMapEntry const &o)
 Print the object. More...
 

Detailed Description

template<typename K, typename V>
struct tdzdd::MyHashMapEntry< K, V >

Entry for a hash map.

Parameters
Kkey of the map.
Vvalue of the map.

Definition at line 477 of file MyHashTable.hpp.

Member Function Documentation

◆ operator<()

template<typename K, typename V>
bool tdzdd::MyHashMapEntry< K, V >::operator< ( MyHashMapEntry< K, V > const &  o) const
inline

Check the order of keys with another object.

Parameters
oanother object.
Returns
true if this is less than the other.

Definition at line 510 of file MyHashTable.hpp.

References tdzdd::MyHashMapEntry< K, V >::key.

◆ operator==()

template<typename K, typename V>
bool tdzdd::MyHashMapEntry< K, V >::operator== ( MyHashMapEntry< K, V > const &  o) const
inline

Check key's equivalence between another object.

Parameters
oanother object.
Returns
true if equivalent.

Definition at line 501 of file MyHashTable.hpp.

References tdzdd::MyHashMapEntry< K, V >::key.

Friends And Related Function Documentation

◆ operator<<

template<typename K, typename V>
std::ostream& operator<< ( std::ostream &  os,
MyHashMapEntry< K, V > const &  o 
)
friend

Print the object.

Parameters
osthe output stream.
othe object.
Returns
os.

Definition at line 520 of file MyHashTable.hpp.


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