Lolly 1.4.28
Loading...
Searching...
No Matches
Classes | Macros | Functions
rel_hashmap.hpp File Reference
#include "hashmap.hpp"
#include "rel_hashmap.ipp"
Include dependency graph for rel_hashmap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rel_hashmap< T, U >
 
class  rel_hashmap_rep< T, U >
 

Macros

#define TMPL   template <class T, class U>
 

Functions

template<class T , class U >
bool is_nil (rel_hashmap< T, U > h)
 
 CONCRETE_NULL_TEMPLATE_2_CODE (rel_hashmap, class, T, class, U)
 
template<class T , class U >
tm_ostreamoperator<< (tm_ostream &out, rel_hashmap< T, U > H)
 

Macro Definition Documentation

◆ TMPL

#define TMPL   template <class T, class U>

Definition at line 48 of file rel_hashmap.hpp.

Function Documentation

◆ is_nil()

template<class T , class U >
bool is_nil ( rel_hashmap< T, U > h)

◆ CONCRETE_NULL_TEMPLATE_2_CODE()

CONCRETE_NULL_TEMPLATE_2_CODE ( rel_hashmap ,
class ,
T ,
class ,
U  )

◆ operator<<()

template<class T , class U >
tm_ostream & operator<< ( tm_ostream & out,
rel_hashmap< T, U > H )

Definition at line 124 of file rel_hashmap.ipp.

125 {
126 if (is_nil (H)) out << "(null)";
127 else {
128 while (!is_nil (H->next)) {
129 out << H->item << LF;
130 out << HRULE << LF;
131 H= H->next;
132 }
133 out << H->item << LF;
134 }
135 return out;
136}
@ LF
Definition basic.hpp:287
@ HRULE
Definition basic.hpp:287
bool is_nil(blackbox x)
Definition blackbox.hpp:29
#define H
Definition hashmap.ipp:17