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
15namespace libebook
16{
17
18 class HTMLParser
19{
20 // disable copying
21 HTMLParser(const HTMLParser &other);
22 HTMLParser &operator=(const HTMLParser &other);
23
24public:
25 HTMLParser(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document, bool xhtml);
26
27 void parse();
28
29private:
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: */
document
XMLTreeNodePtr_t document
Definition EBOOKHTMLParser.cpp:163
libebook::HTMLParser
Definition HTMLParser.h:19
libebook::HTMLParser::m_document
librevenge::RVNGTextInterface *const m_document
Definition HTMLParser.h:31
libebook::HTMLParser::HTMLParser
HTMLParser(const HTMLParser &other)
libebook::HTMLParser::m_input
librevenge::RVNGInputStream *const m_input
Definition HTMLParser.h:30
libebook::HTMLParser::operator=
HTMLParser & operator=(const HTMLParser &other)
libebook::HTMLParser::parse
void parse()
Definition HTMLParser.cpp:72
libebook::HTMLParser::m_xhtml
const bool m_xhtml
Definition HTMLParser.h:32
libebook
Definition BBeBCollector.cpp:19