--- parser3/src/include/pa_string.h 2001/08/01 12:08:40 1.100 +++ parser3/src/include/pa_string.h 2001/09/21 15:35:45 1.104 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.100 2001/08/01 12:08:40 parser Exp $ + $Id: pa_string.h,v 1.104 2001/09/21 15:35:45 parser Exp $ */ #ifndef PA_STRING_H @@ -57,6 +57,7 @@ class Table; class Array; class SQL_Connection; +class Dictionary; /** Pooled string. @@ -98,13 +99,14 @@ public: just a flag, that value not stored */ UL_AS_IS, ///< leave all characters intact - UL_FILE_NAME, ///< filename + UL_FILE_SPEC, ///< file specification UL_HTTP_HEADER, ///< text in HTTP response header UL_MAIL_HEADER, ///< text in mail header UL_URI, ///< text in uri UL_TABLE, ///< ^table:set body UL_SQL, ///< ^table:sql body UL_JS, ///< JavaScript code + UL_XML, ///< ^dom:set xml UL_HTML, ///< HTML code (for editing) UL_USER_HTML ///< HTML code with USER chars }; @@ -224,6 +226,7 @@ public: }; String& change_case(Pool& pool, const unsigned char *pcre_tables, Change_case_kind kind) const; + String& replace(Pool& pool, Dictionary& dict) const; double as_double() const; int as_int() const;