#include <xmlutils/htmlparser.h>
Public Member Functions | |
wxSimpleHtmlParser () | |
~wxSimpleHtmlParser () | |
bool | ParseFile (const wxString &filename, const wxString &encoding=wxEmptyString) |
bool | ParseString (const wxString &str) |
void | Clear () |
void | Write (wxOutputStream &stream) |
bool | WriteFile (wxString &filename) |
bool | ParseHtml (wxSimpleHtmlTag *parent) |
wxSimpleHtmlTag * | ParseTagHeader () |
wxSimpleHtmlTag * | ParseTagClose () |
bool | ParseAttributes (wxSimpleHtmlTag *tag) |
wxSimpleHtmlTag * | ParseDirective () |
bool | ParseComment () |
bool | ParseText (wxString &text) |
bool | EatWhitespace () |
bool | EatWhitespace (int &pos) |
bool | ReadString (wxString &str, bool eatIt=FALSE) |
bool | ReadWord (wxString &str, bool eatIt=FALSE) |
bool | ReadNumber (wxString &str, bool eatIt=FALSE) |
bool | ReadLiteral (wxString &str, bool eatIt=FALSE) |
bool | IsDirective () |
bool | IsComment () |
bool | IsString () |
bool | IsWord () |
bool | IsTagClose () |
bool | IsTagStartBracket (int ch) |
bool | IsTagEndBracket (int ch) |
bool | IsWhitespace (int ch) |
bool | IsAlpha (int ch) |
bool | IsWordChar (int ch) |
bool | IsNumeric (int ch) |
bool | Matches (const wxString &tok, bool eatIt=FALSE) |
bool | Eof () const |
bool | Eof (int pos) const |
void | SetPosition (int pos) |
wxSimpleHtmlTag * | GetTopLevelTag () const |
int | GetChar (size_t i) const |
wxSimpleHtmlParser::wxSimpleHtmlParser | ( | ) |
wxSimpleHtmlParser::~wxSimpleHtmlParser | ( | ) |
void wxSimpleHtmlParser::Clear | ( | ) |
bool wxSimpleHtmlParser::EatWhitespace | ( | int & | pos | ) |
bool wxSimpleHtmlParser::EatWhitespace | ( | ) |
bool wxSimpleHtmlParser::Eof | ( | int | pos | ) | const [inline] |
bool wxSimpleHtmlParser::Eof | ( | ) | const [inline] |
int wxSimpleHtmlParser::GetChar | ( | size_t | i | ) | const |
wxSimpleHtmlTag* wxSimpleHtmlParser::GetTopLevelTag | ( | ) | const [inline] |
bool wxSimpleHtmlParser::IsAlpha | ( | int | ch | ) |
bool wxSimpleHtmlParser::IsComment | ( | ) |
bool wxSimpleHtmlParser::IsDirective | ( | ) |
bool wxSimpleHtmlParser::IsNumeric | ( | int | ch | ) |
bool wxSimpleHtmlParser::IsString | ( | ) |
bool wxSimpleHtmlParser::IsTagClose | ( | ) |
bool wxSimpleHtmlParser::IsTagEndBracket | ( | int | ch | ) |
bool wxSimpleHtmlParser::IsTagStartBracket | ( | int | ch | ) |
bool wxSimpleHtmlParser::IsWhitespace | ( | int | ch | ) |
bool wxSimpleHtmlParser::IsWord | ( | ) |
bool wxSimpleHtmlParser::IsWordChar | ( | int | ch | ) |
bool wxSimpleHtmlParser::Matches | ( | const wxString & | tok, | |
bool | eatIt = FALSE | |||
) |
bool wxSimpleHtmlParser::ParseAttributes | ( | wxSimpleHtmlTag * | tag | ) |
bool wxSimpleHtmlParser::ParseComment | ( | ) |
wxSimpleHtmlTag * wxSimpleHtmlParser::ParseDirective | ( | ) |
bool wxSimpleHtmlParser::ParseFile | ( | const wxString & | filename, | |
const wxString & | encoding = wxEmptyString | |||
) |
bool wxSimpleHtmlParser::ParseHtml | ( | wxSimpleHtmlTag * | parent | ) |
bool wxSimpleHtmlParser::ParseString | ( | const wxString & | str | ) |
wxSimpleHtmlTag * wxSimpleHtmlParser::ParseTagClose | ( | ) |
wxSimpleHtmlTag * wxSimpleHtmlParser::ParseTagHeader | ( | ) |
bool wxSimpleHtmlParser::ParseText | ( | wxString & | text | ) |
bool wxSimpleHtmlParser::ReadLiteral | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxSimpleHtmlParser::ReadNumber | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxSimpleHtmlParser::ReadString | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxSimpleHtmlParser::ReadWord | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
void wxSimpleHtmlParser::SetPosition | ( | int | pos | ) | [inline] |
void wxSimpleHtmlParser::Write | ( | wxOutputStream & | stream | ) |
bool wxSimpleHtmlParser::WriteFile | ( | wxString & | filename | ) |