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: */
librevenge::RVNGInputStream *const m_input
Definition: FB2Parser.h:32
Definition: EBOOKHTMLToken.h:91
Definition: FB2XMLParserContext.h:18
FB2Parser & operator=(const FB2Parser &other)
bool parse(FB2XMLParserContext *context) const
Definition: FB2Parser.cpp:405
Definition: FB2Parser.h:19
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:169
ContextType context
Definition: XMLCollector.cpp:569
Definition: CHMParser.cpp:20
FB2Parser(const FB2Parser &other)

Generated for libe-book by doxygen 1.8.8