Diff for /parser3/src/classes/table.C between versions 1.208.6.10 and 1.219

version 1.208.6.10, 2005/11/25 12:04:57 version 1.219, 2005/11/28 12:50:18
Line 4 Line 4
         Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 static const char * const IDENT_TABLE_C="$Date$";  static const char * const IDENT_TABLE_C="$Date$";
   
 #include "classes.h"  #include "classes.h"
Line 21  static const char * const IDENT_TABLE_C= Line 20  static const char * const IDENT_TABLE_C=
   
 class MTable: public Methoded {  class MTable: public Methoded {
 public: // VStateless_class  public: // VStateless_class
         Value* create_new_value(Pool&) { return new VTable(); }          Value* create_new_value(Pool&, HashStringValue&) { return new VTable(); }
   
 public:  public:
         MTable();          MTable();
Line 332  static void _load(Request& r, MethodPara Line 331  static void _load(Request& r, MethodPara
         }          }
                   
         Table& table=*new Table(columns);          Table& table=*new Table(columns);
         int columns_count=columns->count();          int columns_count=columns? columns->count(): 0;
   
         // parse cells          // parse cells
         Table::element_type row(new ArrayString(columns_count));          Table::element_type row(new ArrayString(columns_count));

Removed from v.1.208.6.10  
changed lines
  Added in v.1.219


E-mail: