--- parser3/src/include/pa_array.h 2001/01/27 15:00:04 1.1 +++ parser3/src/include/pa_array.h 2001/01/27 15:45:24 1.3 @@ -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.3 2001/01/27 15:45:24 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,21 @@ private: } void expand(); -private: //disabled - - Array& operator = (Array& src) { return *this; } - Array(Array& src) {} - public: int size() { return fused_rows; } Array& operator += (Item src); + + /* + void put(int index, Item item); + Item get(int index); + */ + Item& operator [] (int index); + +private: //disabled + + Array& operator = (Array& src) { return *this; } + Array(Array& src) {} }; #endif