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