Diff for /parser3/src/include/pa_array.h between versions 1.50 and 1.58

version 1.50, 2002/02/07 11:16:27 version 1.58, 2003/04/11 15:00:05
Line 1 Line 1
 /** @file  /** @file
         Parser: Array & Array_iter classes decls.          Parser: Array & Array_iter classes decls.
   
         Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com)
         Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
   
         $Id$  
 */  */
   
 #ifndef PA_ARRAY_H  #ifndef PA_ARRAY_H
 #define PA_ARRAY_H  #define PA_ARRAY_H
   
   static const char* IDENT_ARRAY_Y="$Date$";
   
 #include "pa_pool.h"  #include "pa_pool.h"
 #include "pa_types.h"  #include "pa_types.h"
 #include "pa_string.h"  #include "pa_string.h"
Line 76  public: Line 76  public:
         Array& operator += (const Item *src) { return *this+=const_cast<Item *>(src); }          Array& operator += (const Item *src) { return *this+=const_cast<Item *>(src); }
   
         /// append other Array portion to this one. starting from offset          /// append other Array portion to this one. starting from offset
         Array& append_array(const Array& src, int offset=0);          Array& append_array(const Array& src, 
                   int offset=0, 
                   int limit=-1, //< negative limit means 'all'. zero limit means 'nothing'
                   bool reverse=false);
   
         Item *get(int index) const;          Item *get(int index) const;
         int get_int(int index) const { return reinterpret_cast<int>(get(index)); }          int get_int(int index) const { return reinterpret_cast<int>(get(index)); }

Removed from v.1.50  
changed lines
  Added in v.1.58


E-mail: