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

version 1.56, 2002/08/06 14:23:22 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, 2002 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001, 2003 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)
 */  */
   
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, int limit=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.56  
changed lines
  Added in v.1.58


E-mail: