LRFMetadataParser.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

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