|
|
| version 1.46, 2001/03/19 23:12:48 | version 1.47, 2001/03/20 06:45:18 |
|---|---|
| Line 47 | Line 47 |
| /** | /** |
| Pooled string. | Pooled string. |
| Internal structure: @verbatim | Internal structure: |
| @verbatim | |
| String Chunk0 | String Chunk0 |
| ====== ======== | ====== ======== |
| head--------------->[ptr, size, ...] | head--------------->[ptr, size, ...] |
| append_here-------->[ptr, size, ...] | append_here-------->[ptr, size, ...] |
| . | . |
| . | . |
| [ptr, size, ...] | [ptr, size, ...] |
| link_row----------->[link to the next chunk] | link_row----------->[link to the next chunk] |
| @endverbatim | @endverbatim |
| All pieces remember | All pieces remember |
| Line 83 public: | Line 82 public: |
| leave language built into string being appended. | leave language built into string being appended. |
| just a flag, that value not stored | just a flag, that value not stored |
| */ | */ |
| AS_IS, ///< leave all characters intact | AS_IS, ///< leave all characters intact |
| FILE, ///< filename | FILE_NAME, ///< filename |
| HEADER, ///< text in response header | HEADER, ///< text in response header |
| URI, ///< text in uri | URI, ///< text in uri |
| TABLE, ///< ^table:set body | TABLE, ///< ^table:set body |
| SQL, ///< ^table:sql body | SQL, ///< ^table:sql body |
| JS, ///< JavaScript code | JS, ///< JavaScript code |
| HTML, ///< HTML code (for editing) | HTML, ///< HTML code (for editing) |
| HTML_TYPO ///< HTML code with TYPOgraphic replacements (for showing) | HTML_TYPO ///< HTML code with TYPOgraphic replacements (for showing) |
| }; | }; |
| public: | public: |
| Line 122 public: | Line 121 public: |
| /** | /** |
| appends other String. | appends other String. |
| marking all tainted pieces of it with \a lang. | marking all tainted pieces of it with @a lang. |
| or marking ALL pieces of it with a \a lang when \a forced to. | or marking ALL pieces of it with a @a lang when @a forced to. |
| */ | */ |
| String& append(const String& src, Untaint_lang lang, bool forced=false); | String& append(const String& src, Untaint_lang lang, bool forced=false); |