Back to index

texmacs  1.0.7.15
Classes | Defines | Functions
rel_hashmap.hpp File Reference
#include "hashmap.hpp"
#include "rel_hashmap.cpp"
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 >

Defines

#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)
TMPL tm_ostreamoperator<< (tm_ostream &out, rel_hashmap< T, U > H)

Define Documentation

#define TMPL   template<class T, class U>

Definition at line 48 of file rel_hashmap.hpp.


Function Documentation

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

Definition at line 115 of file rel_hashmap.cpp.

                                                  {
  if (is_nil (H)) out << "(null)";
  else {
    while (!is_nil (H->next)) {
      out << H->item << LF;
      out << HRULE << LF;
      H= H->next;
    }
    out << H->item << LF;
  }
  return out;
}

Here is the call graph for this function: