--- parser3/src/include/pa_table.h 2006/11/03 17:32:30 1.62 +++ parser3/src/include/pa_table.h 2015/07/28 21:23:38 1.66 @@ -1,14 +1,14 @@ /** @file Parser: table class decl. - Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_TABLE_H #define PA_TABLE_H -static const char * const IDENT_TABLE_H="$Date: 2006/11/03 17:32:30 $"; +#define IDENT_PA_TABLE_H "$Id: pa_table.h,v 1.66 2015/07/28 21:23:38 moko Exp $" #include "pa_types.h" #include "pa_hash.h" @@ -58,6 +58,12 @@ public: /// @return item from @a column const String* item(size_t column); + /// sets @a column value + void put_item(size_t column, const String*); + + /// removes current row + void remove_current(); + /// @return item from @a column. '0' if no such column const String* item(const String& column) { int index=column_name2index(column, false); @@ -128,7 +134,7 @@ private: columns_type fcolumns; /// column name->number lookup table - typedef Hash name2number_hash_class; + typedef HashString name2number_hash_class; name2number_hash_class* name2number; /// is that @c index falid?