--- parser3/src/include/pa_string.h 2001/10/11 10:21:44 1.106 +++ parser3/src/include/pa_string.h 2001/10/24 09:03:42 1.108 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.106 2001/10/11 10:21:44 parser Exp $ + $Id: pa_string.h,v 1.108 2001/10/24 09:03:42 parser Exp $ */ #ifndef PA_STRING_H @@ -129,6 +129,10 @@ public: *eol=0; return result; } + /// puts pieces to buf + void serialize(size_t prolog_size, void *& buf, size_t& buf_size) const; + /// appends pieces from buf to self + void deserialize(size_t prolog_size, void *buf, size_t buf_size, const char *file); /** append fragment @see APPEND_AS_IS, APPEND_CLEAN, APPEND_TAINTED, APPEND_CONST */ @@ -292,6 +296,12 @@ private: SQL_Connection *connection=0, const char *charset=0) const; + String& reconstruct(Pool& pool) const; + void join_chain(Pool& pool, + size_t& ai, const Chunk*& achunk, const Chunk::Row*& arow, + Untaint_lang& joined_lang, const char *& joined_ptr, size_t& joined_size) const; + String& replace_in_reconstructed(Pool& pool, Dictionary& dict) const; + private: //disabled String& operator = (const String&) { return *this; }