BBeBMetadataParser.h Source File documentation

BBeBMetadataParser.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 BBEBMETADATAPARSER_H_INCLUDED
11 #define BBEBMETADATAPARSER_H_INCLUDED
12
13 #include <librevenge-stream/librevenge-stream.h>
14
15 #include "BBeBTypes.h"
16
17 namespace libebook
18 {
19
20 class BBeBMetadataParser
21 {
22 // Weffc++
23 BBeBMetadataParser(const BBeBMetadataParser &other);
24 BBeBMetadataParser &operator=(const BBeBMetadataParser &other);
25
26 public:
27 explicit BBeBMetadataParser(librevenge::RVNGInputStream *input);
28
29 void parse();
30
31 const BBeBMetadata &getMetadata() const;
32
33 private:
34 BBeBMetadata m_metadata;
35 librevenge::RVNGInputStream *const m_input;
36 };
37
38 }
39
40 #endif // BBEBMETADATAPARSER_H_INCLUDED
41
42 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::EBOOKHTMLToken::input
Definition: EBOOKHTMLToken.h:89
libebook::BBeBMetadataParser::BBeBMetadataParser
BBeBMetadataParser(const BBeBMetadataParser &other)
libebook::BBeBMetadataParser::operator=
BBeBMetadataParser & operator=(const BBeBMetadataParser &other)
BBeBTypes.h
libebook::BBeBMetadataParser::m_metadata
BBeBMetadata m_metadata
Definition: BBeBMetadataParser.h:34
libebook::BBeBMetadataParser::m_input
librevenge::RVNGInputStream *const m_input
Definition: BBeBMetadataParser.h:35
libebook::BBeBMetadata
Definition: BBeBTypes.h:79
libebook
Definition: BBeBCollector.cpp:18
libebook::BBeBMetadataParser::getMetadata
const BBeBMetadata & getMetadata() const
Definition: BBeBMetadataParser.cpp:26
libebook::BBeBMetadataParser
Definition: BBeBMetadataParser.h:20
libebook::BBeBMetadataParser::parse
void parse()
Definition: BBeBMetadataParser.cpp:21