Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KJS::Lookup Class Reference

Fast keyword lookup. More...

#include <lookup.h>

List of all members.

Static Public Methods

int find (const struct HashTable *table, const UString &s)
const HashEntry * findEntry (const struct HashTable *table, const UString &s)
unsigned int hash (const UString &key)


Detailed Description

Fast keyword lookup.

Definition at line 97 of file lookup.h.


Member Function Documentation

int KJS::Lookup::find (  const struct HashTable *    table,
const UString &    s
)  [static]
 

Find an entry in the table, and return its value (i.e. the value field of HashEntry)

const HashEntry* KJS::Lookup::findEntry (  const struct HashTable *    table,
const UString &    s
)  [static]
 

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.

unsigned int KJS::Lookup::hash (  const UString &    key )  [static]
 

Calculate the hash value for a given key


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:34 2003 for kdelibs by doxygen1.2.18