HTMLParser.h Source File documentation

HTMLParser.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libe-book project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef HTMLPARSER_H_INCLUDED
11 #define HTMLPARSER_H_INCLUDED
12
13 #include <libe-book/libe-book.h>
14
15 namespace libebook
16 {
17
18 class HTMLParser
19 {
20 // disable copying
21 HTMLParser(const HTMLParser &other);
22 HTMLParser &operator=(const HTMLParser &other);
23
24 public:
25 HTMLParser(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document, bool xhtml);
26
27 void parse();
28
29 private:
30 librevenge::RVNGInputStream *const m_input;
31 librevenge::RVNGTextInterface *const m_document;
32 const bool m_xhtml;
33 };
34
35 }
36
37 #endif // HTMLPARSER_H_INCLUDED
38
39 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
HTMLParser.h
EBOOKHTMLParser.h
EBOOKHTMLTypes.h
path
string path
Definition: EBOOKOPFParser.cpp:49
libebook
Definition: BBeBCollector.cpp:18
m_input
librevenge::RVNGInputStream * m_input
Definition: PeanutPressParser.cpp:262
libebook::HTMLParser::parse
void parse()
Definition: HTMLParser.cpp:72
libebook::HTMLParser::m_document
librevenge::RVNGTextInterface *const m_document
Definition: HTMLParser.h:31
libebook::HTMLParser::m_xhtml
const bool m_xhtml
Definition: HTMLParser.h:32
document
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:163
libebook::EBOOKHTMLToken::input
Definition: EBOOKHTMLToken.h:89
libebook::HTMLParser::operator=
HTMLParser & operator=(const HTMLParser &other)
parser
HUBBUBParserPtr_t parser
Definition: EBOOKHTMLParser.cpp:170
m_document
librevenge::RVNGTextInterface *const m_document
Definition: FictionBook2Parser.cpp:55
libebook::HTMLParser
Definition: HTMLParser.h:18
libebook::HTMLParser::m_input
librevenge::RVNGInputStream *const m_input
Definition: HTMLParser.h:30
libebook::HTMLParser::HTMLParser
HTMLParser(const HTMLParser &other)