WebStrings.h File Reference
Include dependency graph for WebStrings.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | utility |
The utility namespace contains utility classes. | |
Typedefs | |
| typedef std::tuple< const char *, std::ptrdiff_t, const char *, std::ptrdiff_t > | utility::title_body_type |
Functions | |
| void | utility::escape_javascript (string &result, const char *text, const unsigned int text_size) |
| void | utility::escape_javascript (string &result, const string &text) |
| string | utility::escape_javascript (const string &text) |
| void | utility::escape_html (string &result, const char *text, const unsigned int text_size) |
| Escapes characters in text that could result in rendering HTML when passed to an HTML renderer. | |
| void | utility::escape_html (string &result, const string &text) |
| string | utility::escape_html (const string &text) |
| void | utility::escape_url (string &result, const char *text, const unsigned int text_size) |
| Escapes characters in text that are either reserved or "unsafe" according to RFC 1738. | |
| void | utility::escape_url (string &result, const string &text) |
| string | utility::escape_url (const string &text) |
| void | utility::unescape_url (string &url) |
| Unescapes URL escape sequences in place. | |
| void | utility::strip_html (string &result, const char *text, const unsigned int text_size) |
| Removes all HTML tags from text. | |
| void | utility::strip_html (string &result, const string &text) |
| string | utility::strip_html (const string &text) |
| void | utility::strip_html_and_unescape (string &result, const char *text, const unsigned int text_size) |
| Removes all HTML tags from text and unescapes character entities, converting them into the characters they represent. | |
| string | utility::strip_html_and_unescape (const char *text, const unsigned int text_size) |
| void | utility::strip_html_and_unescape (string &result, const string &text) |
| string | utility::strip_html_and_unescape (const string &text) |
| void | utility::wrap_lines (char *text, const unsigned int text_size, const unsigned int max_length) |
| Replaces spaces in text with newlines in such a manner that no line exceeds a specified maximum length, except for sequences of characters uninterrupted by spaces that exceed the maximum line length. | |
| title_body_type | utility::html_title_and_body (const char *begin, const char *end) |
| Returns the offsets of the title and body of an HTML document. | |
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.