FictionBook3Parser.h Source File documentation

FictionBook3Parser.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 FICTIONBOOK3PARSER_H_INCLUDED
11 #define FICTIONBOOK3PARSER_H_INCLUDED
12
13 #include <librevenge/librevenge.h>
14
15 #include "libebook_utils.h"
16
17 namespace libebook
18 {
19
20 class FictionBook3Parser
21 {
22 // disable copying
23 FictionBook3Parser(const FictionBook3Parser &other);
24 FictionBook3Parser &operator=(const FictionBook3Parser &other);
25
26 public:
27 FictionBook3Parser(const RVNGInputStreamPtr_t &input, librevenge::RVNGTextInterface *document);
28
29 bool parse();
30
31 private:
32 const RVNGInputStreamPtr_t &m_input;
33 librevenge::RVNGTextInterface *const m_document;
34 };
35
36 }
37
38 #endif // FICTIONBOOK3PARSER_H_INCLUDED
39
40 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::FictionBook3Parser::m_input
const RVNGInputStreamPtr_t & m_input
Definition: FictionBook3Parser.h:32
libebook::RVNGInputStreamPtr_t
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libebook_utils.h:54
libebook::FictionBook3Parser::m_document
librevenge::RVNGTextInterface *const m_document
Definition: FictionBook3Parser.h:33
libebook
Definition: BBeBCollector.cpp:19
libebook_utils.h
libebook::FictionBook3Parser
Definition: FictionBook3Parser.h:21
m_input
librevenge::RVNGInputStream * m_input
Definition: PeanutPressParser.cpp:262
libebook::FictionBook3Parser::parse
bool parse()
Definition: FictionBook3Parser.cpp:24
document
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:163
libebook::EBOOKHTMLToken::input
@ input
Definition: EBOOKHTMLToken.h:89
libebook::FictionBook3Parser::FictionBook3Parser
FictionBook3Parser(const FictionBook3Parser &other)
FictionBook3Parser.h
libebook::FictionBook3Parser::operator=
FictionBook3Parser & operator=(const FictionBook3Parser &other)
m_document
librevenge::RVNGTextInterface *const m_document
Definition: FictionBook2Parser.cpp:55