--- parser3/src/include/pa_string.h 2001/04/09 09:48:18 1.77 +++ parser3/src/include/pa_string.h 2001/04/11 08:36:16 1.80 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.77 2001/04/09 09:48:18 paf Exp $ + $Id: pa_string.h,v 1.80 2001/04/11 08:36:16 paf Exp $ */ #ifndef PA_STRING_H @@ -156,6 +156,11 @@ public: int partial; // unused return cmp(partial, src_ptr, src_size)==0; } + bool operator != (const char* src_ptr) const { + int partial; // unused + return cmp(partial, src_ptr, 0)!=0; + } + /** appends other String. @@ -247,7 +252,9 @@ private: return append_here == link_row; } void expand(); - char *String::store_to(char *dest, + + /// convert to C string, store to 'dest' which must be big enough for proper untaint + char *store_to(char *dest, Untaint_lang lang=UL_UNSPECIFIED, SQL_Connection *connection=0) const; private: //disabled