--- parser3/src/include/pa_array.h 2001/01/27 15:00:04 1.1 +++ parser3/src/include/pa_array.h 2001/01/29 09:38:33 1.4 @@ -1,5 +1,5 @@ /* - $Id: pa_array.h,v 1.1 2001/01/27 15:00:04 paf Exp $ + $Id: pa_array.h,v 1.4 2001/01/29 09:38:33 paf Exp $ */ /* @@ -64,6 +64,9 @@ private: // array size int fused_rows; + int cache_chunk_base; + Chunk *cache_chunk; + private: // new&constructors made private to enforce factory manufacturing at pool void *operator new(size_t size, Pool *apool); @@ -82,15 +85,18 @@ private: } void expand(); -private: //disabled - - Array& operator = (Array& src) { return *this; } - Array(Array& src) {} - public: int size() { return fused_rows; } Array& operator += (Item src); + Item& operator [] (int index); + Array& operator += (Array& src); + void remove(int index, int count=1); + +private: //disabled + + Array& operator = (Array& src) { return *this; } + Array(Array& src) {} }; #endif