Diff for /parser3/src/include/pa_array.h between versions 1.4 and 1.5

version 1.4, 2001/01/29 09:38:33 version 1.5, 2001/01/29 10:15:14
Line 50  private: Line 50  private:
         }          }
                 *head;  // the head chunk of the chunk chain                  *head;  // the head chunk of the chunk chain
   
           // last allocated chunk
           // helps appending Arrays
           Chunk *tail;
   
         // next append would write to this record          // next append would write to this record
         Chunk::Row *append_here;          Chunk::Row *append_here;
                   
Line 58  private: Line 62  private:
         Chunk::Row *link_row;          Chunk::Row *link_row;
   
 private:  private:
         // last chank allocated count  
         int curr_chunk_rows;  
   
         // array size          // array size
         int fused_rows;          int fused_rows;
   
Line 83  private: Line 84  private:
         bool chunk_is_full() {          bool chunk_is_full() {
                 return append_here == link_row;                  return append_here == link_row;
         }          }
         void expand();          void expand(int chunk_rows);
   
 public:  public:
   
Line 91  public: Line 92  public:
         Array& operator += (Item src);          Array& operator += (Item src);
         Item& operator [] (int index);          Item& operator [] (int index);
         Array& operator += (Array& src);          Array& operator += (Array& src);
         void remove(int index, int count=1);  
   
 private: //disabled  private: //disabled
   

Removed from v.1.4  
changed lines
  Added in v.1.5


E-mail: