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
17namespace libebook
18{
19
20 class BBeBMetadataParser
21{
22 // Weffc++
23 BBeBMetadataParser(const BBeBMetadataParser &other);
24 BBeBMetadataParser &operator=(const BBeBMetadataParser &other);
25
26public:
27 explicit BBeBMetadataParser(librevenge::RVNGInputStream *input);
28
29 void parse();
30
31 const BBeBMetadata &getMetadata() const;
32
33private:
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: */
BBeBTypes.h
libebook::BBeBMetadataParser
Definition: BBeBMetadataParser.h:21
libebook::BBeBMetadataParser::getMetadata
const BBeBMetadata & getMetadata() const
Definition: BBeBMetadataParser.cpp:26
libebook::BBeBMetadataParser::m_input
librevenge::RVNGInputStream *const m_input
Definition: BBeBMetadataParser.h:35
libebook::BBeBMetadataParser::BBeBMetadataParser
BBeBMetadataParser(const BBeBMetadataParser &other)
libebook::BBeBMetadataParser::operator=
BBeBMetadataParser & operator=(const BBeBMetadataParser &other)
libebook::BBeBMetadataParser::m_metadata
BBeBMetadata m_metadata
Definition: BBeBMetadataParser.h:34
libebook::BBeBMetadataParser::parse
void parse()
Definition: BBeBMetadataParser.cpp:21
libebook
Definition: BBeBCollector.cpp:19
libebook::BBeBMetadata
Definition: BBeBTypes.h:80