FB2Parser.h Source File documentation

FB2Parser.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 FB2PARSER_H_INCLUDED
11 #define FB2PARSER_H_INCLUDED
12
13
14 namespace libebook
15 {
16
17 class FB2XMLParserContext;
18
19 class FB2Parser
20 {
21 // no copying
22 FB2Parser(const FB2Parser &other);
23 FB2Parser &operator=(const FB2Parser &other);
24
25 public:
26 explicit FB2Parser(librevenge::RVNGInputStream *input);
27
28 bool parse(FB2XMLParserContext *context) const;
29 bool parse(librevenge::RVNGTextInterface *document) const;
30
31 private:
32 librevenge::RVNGInputStream *const m_input;
33 };
34
35 }
36
37 #endif // FB2PARSER_H_INCLUDED
38
39 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::FB2Parser::m_input
librevenge::RVNGInputStream *const m_input
Definition: FB2Parser.h:32
libebook::EBOOKHTMLToken::input
Definition: EBOOKHTMLToken.h:91
libebook::FB2XMLParserContext
Definition: FB2XMLParserContext.h:18
libebook::FB2Parser::operator=
FB2Parser & operator=(const FB2Parser &other)
libebook::FB2Parser
Definition: FB2Parser.h:19
document
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:169
context
ContextType context
Definition: XMLCollector.cpp:569
libebook
Definition: CHMParser.cpp:20
libebook::FB2Parser::FB2Parser
FB2Parser(const FB2Parser &other)
libebook::FB2Parser::parse
bool parse(FB2XMLParserContext *context) const
Definition: FB2Parser.cpp:405