HashFunctor Struct Reference

#include <SequenceReaderFilter.h>

List of all members.

Public Member Functions

size_t operator() (const char *s) const


Detailed Description

Definition at line 47 of file SequenceReaderFilter.h.


Member Function Documentation

size_t HashFunctor::operator() ( const char *  s  )  const [inline]

Definition at line 49 of file SequenceReaderFilter.h.

00050   { 
00051     unsigned long h = 0; 
00052     for ( ; *s; ++s)
00053       h = 5*h + *s;
00054     return size_t(h);
00055   } // ~operator()


The documentation for this struct was generated from the following file:
Generated on Fri Dec 21 13:15:53 2007 for ssaha by  doxygen 1.5.2