Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

shashtbl.cpp File Reference

#include "iexcept.hpp"
#include "shashtbl.hpp"
#include "sstring.hpp"

Include dependency graph for shashtbl.cpp:

Go to the source code of this file.

Functions

intelib_hash_t UniversalHash (intelib_hash_t l)
 Generic hash function (for an integer value).
intelib_hash_t LispHash (const SReference &ref)
 Hash function for an arbitry S-expression.
bool SExprsAreEq (SReference l1, SReference l2)
 Equality predicate 'EQ' (pointer comparision).
bool SExprsAreEql (SReference l1, SReference l2)
 Equality predicate 'EQL'.
bool SExprsAreEqual (SReference l1, SReference l2)
 Equality predicate 'EQUAL' (recursive).


Function Documentation

intelib_hash_t UniversalHash intelib_hash_t  l  ) 
 

Generic hash function (for an integer value).

Definition at line 61 of file shashtbl.cpp.

Referenced by LispHash().

intelib_hash_t LispHash const SReference ref  ) 
 

Hash function for an arbitry S-expression.

Definition at line 95 of file shashtbl.cpp.

References UniversalHash().

Referenced by SExpressionHashTable::FindItem(), SExpressionHashTable::GetItemPosition(), and SExpressionHashTable::RemoveItem().

bool SExprsAreEq SReference  l1,
SReference  l2
 

Equality predicate 'EQ' (pointer comparision).

Definition at line 102 of file shashtbl.cpp.

Referenced by SExpressionHashTable::TextRepresentation().

bool SExprsAreEql SReference  l1,
SReference  l2
 

Equality predicate 'EQL'.

Definition at line 104 of file shashtbl.cpp.

References SReference::IsEql().

Referenced by SExpressionHashTable::TextRepresentation().

bool SExprsAreEqual SReference  l1,
SReference  l2
 

Equality predicate 'EQUAL' (recursive).

Definition at line 106 of file shashtbl.cpp.

References SReference::IsEqual().

Referenced by SExpressionHashTable::SExpressionHashTable(), and SExpressionHashTable::TextRepresentation().


Generated on Tue Dec 18 00:40:24 2007 for InteLib by  doxygen 1.4.1