ZBRParser.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 a part of the libzmf 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 ZBRPARSER_H_INCLUDED
11 #define ZBRPARSER_H_INCLUDED
12 
13 #include <librevenge/librevenge.h>
14 
15 #include "ZBRHeader.h"
16 #include "ZMFCollector.h"
17 #include "libzmf_utils.h"
18 
19 namespace libzmf
20 {
21 
22 class ZBRParser
23 {
24  ZBRParser(const ZBRParser &other) = delete;
25  ZBRParser &operator=(const ZBRParser &other) = delete;
26 
27 public:
28  ZBRParser(const RVNGInputStreamPtr &input, librevenge::RVNGDrawingInterface *painter);
29  bool parse();
30 
31 protected:
35 };
36 
37 }
38 
39 #endif // ZBRPARSER_H_INCLUDED
40 
41 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libzmf::ZBRParser::parse
bool parse()
Definition: ZBRParser.cpp:22
libzmf::ZMFCollector::endDocument
void endDocument()
Definition: ZMFCollector.cpp:339
libzmf::ZBRParser::m_collector
ZMFCollector m_collector
Definition: ZBRParser.h:33
libzmf::ZBRHeader::load
bool load(const RVNGInputStreamPtr &input)
Definition: ZBRHeader.cpp:23
ZBRHeader.h
libzmf::RVNGInputStreamPtr
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
Definition: libzmf_utils.h:80
libzmf::ZMFCollector
Definition: ZMFCollector.h:22
ZBRParser.h
libzmf::ZBRParser::m_header
ZBRHeader m_header
Definition: ZBRParser.h:34
libzmf
Definition: BMIHeader.cpp:14
libzmf::ZMFCollector::startDocument
void startDocument()
Definition: ZMFCollector.cpp:327
libzmf::ZBRParser::ZBRParser
ZBRParser(const ZBRParser &other)=delete
libzmf::ZBRParser::m_input
const RVNGInputStreamPtr m_input
Definition: ZBRParser.h:32
libzmf_utils.h
libzmf::ZBRParser::operator=
ZBRParser & operator=(const ZBRParser &other)=delete
libzmf::ZBRHeader
Definition: ZBRHeader.h:19
libzmf::ZBRHeader::isSupported
bool isSupported() const
Definition: ZBRHeader.cpp:35
ZMFCollector.h
libzmf::ZBRParser
Definition: ZBRParser.h:23

Generated for libzmf by doxygen 1.8.20