--- parser3/src/include/pa_dictionary.h 2001/08/28 10:43:33 1.4 +++ parser3/src/include/pa_dictionary.h 2002/02/08 07:27:43 1.9 @@ -1,17 +1,15 @@ /** @file Parser: dictionary class decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://paf.design.ru) - Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: pa_dictionary.h,v 1.4 2001/08/28 10:43:33 parser Exp $ + $Id: pa_dictionary.h,v 1.9 2002/02/08 07:27:43 paf Exp $ */ #ifndef PA_DICTIONARY_H #define PA_DICTIONARY_H -#include "pa_config_includes.h" #include "pa_table.h" /// simple dictionary, speding up lookups on contained two columned table @@ -25,7 +23,7 @@ public: double max_ratio() { return fmax_ratio; } /// find first row that contains string in first column which starts @b src - void* first_that_starts(const char *src) const; + void* first_that_starts(const char *src, size_t src_size=0) const; /// where this table came from, may be NULL. proxy to Table const String *origin_string() { return table.origin_string(); }