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

- File List
- File Members

NUMParser.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 libetonyek 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 NUMPARSER_H_INCLUDED
11 #define NUMPARSER_H_INCLUDED
12
13 #include "libetonyek_utils.h"
14
15 namespace libetonyek
16 {
17
18 class NUMCollector;
19 class KEYXMLReader;
20
21 class NUMParser
22 {
23 // disable copying
24 NUMParser(const NUMParser &);
25 NUMParser &operator=(const NUMParser &);
26
27 public:
28 NUMParser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, NUMCollector *collector);
29
30 bool parse();
31
32 private:
33 void parseDocument(const KEYXMLReader &reader);
34
35 private:
36 RVNGInputStreamPtr_t m_input;
37 RVNGInputStreamPtr_t m_package;
38 NUMCollector *m_collector;
39 };
40
41 } // namespace libetonyek
42
43 #endif // NUMPARSER_H_INCLUDED
44
45 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::NUMParser::NUMParser
NUMParser(const NUMParser &)
libetonyek::NUMCollector
Definition: NUMCollector.h:18
libetonyek::NUMParser::operator=
NUMParser & operator=(const NUMParser &)
libetonyek::NUMParser::m_collector
NUMCollector * m_collector
Definition: NUMParser.h:38
libetonyek::NUMParser::m_input
RVNGInputStreamPtr_t m_input
Definition: NUMParser.h:36
package
RVNGInputStreamPtr_t package
Definition: EtonyekDocument.cpp:60
libetonyek::KEYXMLReader
Definition: KEYXMLReader.h:20
libetonyek::RVNGInputStreamPtr_t
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:88
libetonyek::NUMParser::m_package
RVNGInputStreamPtr_t m_package
Definition: NUMParser.h:37
input
RVNGInputStreamPtr_t input
Definition: EtonyekDocument.cpp:59
libetonyek::NUMParser
Definition: NUMParser.h:21
libetonyek::NUMParser::parse
bool parse()
Definition: NUMParser.cpp:30
libetonyek_utils.h
libetonyek::NUMParser::parseDocument
void parseDocument(const KEYXMLReader &reader)
Definition: NUMParser.cpp:41