Back to index

Private Member Functions
hashset< T > Class Template Reference

#include <hashset.hpp>

List of all members.

Private Member Functions

 hashset (int n=1, int max=1)
 operator tree ()

Detailed Description

template<class T>
class hashset< T >

Definition at line 47 of file hashset.hpp.

Constructor & Destructor Documentation

template<class T>
hashset< T >::hashset ( int  n = 1,
int  max = 1 
) [inline, private]

Definition at line 49 of file hashset.hpp.

    rep (tm_new<hashset_rep<T> > (n, max)) {}

Member Function Documentation

template<class T>
hashset< T >::CONCRETE_TEMPLATE ( hashset< T ,
) [private]
template<class T >
hashset< T >::operator tree ( ) [private]

Definition at line 108 of file hashset.cpp.

  int i=0, j=0, n=this->rep->n, size=this->rep->size;
  tree t (COLLECTION, size);
  for (; i<n; i++) {
    list<T> l=this->rep->a[i];
    for (; !is_nil (l); l=l->next, j++)
      t[j]= as_tree(l->item);
  return t;

Here is the call graph for this function:

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