--- parser3/src/include/pa_table.h 2003/01/23 16:08:01 1.48.2.2 +++ parser3/src/include/pa_table.h 2003/01/24 08:19:09 1.48.2.3 @@ -8,7 +8,7 @@ #ifndef PA_TABLE_H #define PA_TABLE_H -static const char* IDENT_TABLE_H="$Date: 2003/01/23 16:08:01 $"; +static const char* IDENT_TABLE_H="$Date: 2003/01/24 08:19:09 $"; #include "pa_types.h" #include "pa_array.h" @@ -36,13 +36,13 @@ public: Table( - object_ptr aorigin_string, + ConstStringPtr aorigin_string, object_ptr > acolumns, int initial_rows=3); Table(const Table& src, int offset=0, int limit=0); /// where this table came from, may be NULL - object_ptr origin_string() { return forigin_string; } + ConstStringPtr origin_string() { return forigin_string; } /// gets column names object_ptr > columns() { return fcolumns; } @@ -80,7 +80,7 @@ public: private: // where this table came from, may be NULL - object_ptr forigin_string; + ConstStringPtr forigin_string; // current row int fcurrent; @@ -99,4 +99,6 @@ private: }; +typedef object_ptr TablePtr; + #endif