RocketEBookParser.h Source File documentation

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