.TH "KJS::Lookup" kde3 "11 Jun 2005" "Version Version 3.4.1" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::Lookup \- Fast keyword lookup.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <lookup.h>\fP
.PP
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static int \fBfind\fP (const struct \fBHashTable\fP *table, const \fBIdentifier\fP &s)"
.br
.ti -1c
.RI "static int \fBfind\fP (const struct \fBHashTable\fP *table, const \fBUChar\fP *c, unsigned int len)"
.br
.ti -1c
.RI "static const \fBHashEntry\fP * \fBfindEntry\fP (const struct \fBHashTable\fP *table, const \fBIdentifier\fP &s)"
.br
.ti -1c
.RI "static const \fBHashEntry\fP * \fBfindEntry\fP (const struct \fBHashTable\fP *table, const \fBUChar\fP *c, unsigned int len)"
.br
.ti -1c
.RI "static unsigned int \fBhash\fP (const \fBIdentifier\fP &key)"
.br
.ti -1c
.RI "static unsigned int \fBhash\fP (const \fBUChar\fP *c, unsigned int len)"
.br
.ti -1c
.RI "static unsigned int \fBhash\fP (const char *s)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Fast keyword lookup. 
.PP
Definition at line 102 of file lookup.h.
.SH "Member Function Documentation"
.PP 
.SS "int Lookup::find (const struct \fBHashTable\fP * table, const \fBIdentifier\fP & s)\fC [static]\fP"
.PP
Find an entry in the table, and return its value (i.e. 
.PP
the value field of \fBHashEntry\fP) 
.PP
Definition at line 87 of file lookup.cpp.
.SS "const \fBHashEntry\fP * Lookup::findEntry (const struct \fBHashTable\fP * table, const \fBIdentifier\fP & s)\fC [static]\fP"
.PP
Find an entry in the table, and return the entry This variant gives access to the other attributes of the entry, especially the attr field. 
.PP
Definition at line 72 of file lookup.cpp.
.SS "unsigned int Lookup::hash (const \fBIdentifier\fP & key)\fC [static]\fP"
.PP
Calculate the hash value for a given key. 
.PP
Definition at line 102 of file lookup.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kjs Library from the source code.
