--- parser3/src/include/pa_string.h 2001/01/27 15:21:05 1.7 +++ parser3/src/include/pa_string.h 2001/01/29 12:00:45 1.8 @@ -1,5 +1,5 @@ /* - $Id: pa_string.h,v 1.7 2001/01/27 15:21:05 paf Exp $ + $Id: pa_string.h,v 1.8 2001/01/29 12:00:45 paf Exp $ */ /* @@ -31,6 +31,17 @@ public: CR_GROW_PERCENT=60 }; +public: + + String(String& src); + size_t size() { return fsize; } + int used_rows() { return fused_rows; } + char *c_str(); + String& operator += (char *src); + bool operator == (String& src); + + uint hash_code(); + private: friend Pool; @@ -88,17 +99,6 @@ private: } void expand(); -public: - - String(String& src); - size_t size() { return fsize; } - int used_rows() { return fused_rows; } - char *c_str(); - String& operator += (char *src); - bool operator == (String& src); - - uint hash_code(); - private: //disabled String& operator = (String& src) { return *this; }