--- parser3/src/include/pa_dictionary.h 2003/03/05 11:42:04 1.13.2.8 +++ parser3/src/include/pa_dictionary.h 2003/03/19 12:22:35 1.13.2.8.2.2 @@ -8,7 +8,7 @@ #ifndef PA_DICTIONARY_H #define PA_DICTIONARY_H -static const char* IDENT_DICTIONARY_H="$Date: 2003/03/05 11:42:04 $"; +static const char* IDENT_DICTIONARY_H="$Date: 2003/03/19 12:22:35 $"; #include "pa_table.h" @@ -17,7 +17,7 @@ class Dictionary: public PA_Object { public: /// construct wrapper, grabbing first letters of first column into @b first - Dictionary(TablePtr atable, double amin_ratio=1); + Dictionary(Table* atable, double amin_ratio=1); /// get max ratio double max_ratio() const { return fmax_ratio; } @@ -25,12 +25,9 @@ public: /// find first row that contains string in first column which starts @b src Table::element_type first_that_starts(const char* src, size_t src_size=0) const; - /// where this table came from, may be NULL. proxy to Table - StringPtr origin_string() { return table->origin_string(); } - private: - TablePtr table; + Table* table; double fmax_ratio; private: