--- parser3/src/include/pa_array.h 2001/01/27 15:21:05 1.2 +++ parser3/src/include/pa_array.h 2001/01/29 09:38:33 1.4 @@ -1,5 +1,5 @@ /* - $Id: pa_array.h,v 1.2 2001/01/27 15:21:05 paf Exp $ + $Id: pa_array.h,v 1.4 2001/01/29 09:38:33 paf Exp $ */ /* @@ -64,10 +64,8 @@ private: // array size int fused_rows; - int cache_index; - Chunk::Row *cache_row; - int cache_countdown; - Chunk::Row *cache_link_row; + int cache_chunk_base; + Chunk *cache_chunk; private: // new&constructors made private to enforce factory manufacturing at pool @@ -91,12 +89,9 @@ public: int size() { return fused_rows; } Array& operator += (Item src); - - /* - void put(int index, Item item); - Item get(int index); - */ Item& operator [] (int index); + Array& operator += (Array& src); + void remove(int index, int count=1); private: //disabled