NUM1Parser.h Source File documentation

NUM1Parser.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 NUM1PARSER_H_INCLUDED
11#define NUM1PARSER_H_INCLUDED
12
13#include "IWORKParser.h"
14#include "NUM1ParserState.h"
15
16namespace libetonyek
17{
18
19class NUMCollector;
20struct NUM1Dictionary;
21
22 class NUM1Parser: public IWORKParser
23{
24public:
25 NUM1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, NUMCollector &collector, NUM1Dictionary *dict);
26 ~NUM1Parser() override;
27
28private:
29 IWORKXMLContextPtr_t createDocumentContext() override;
30 IWORKXMLContextPtr_t createDiscardContext() override;
31 const IWORKTokenizer &getTokenizer() const override;
32
33private:
34 NUM1ParserState m_state;
35};
36
37} // namespace libetonyek
38
39#endif // NUM1PARSER_H_INCLUDED
40
41/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKParser.h
NUM1ParserState.h
libetonyek::IWORKParser::IWORKParser
IWORKParser(const IWORKParser &)
libetonyek::IWORKTokenizer
Definition IWORKTokenizer.h:17
libetonyek::NUM1ParserState
Definition NUM1ParserState.h:23
libetonyek::NUM1Parser::m_state
NUM1ParserState m_state
Definition NUM1Parser.h:34
libetonyek::NUM1Parser::createDiscardContext
IWORKXMLContextPtr_t createDiscardContext() override
Definition NUM1Parser.cpp:607
libetonyek::NUM1Parser::getTokenizer
const IWORKTokenizer & getTokenizer() const override
Definition NUM1Parser.cpp:612
libetonyek::NUM1Parser::NUM1Parser
NUM1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, NUMCollector &collector, NUM1Dictionary *dict)
Definition NUM1Parser.cpp:592
libetonyek::NUM1Parser::createDocumentContext
IWORKXMLContextPtr_t createDocumentContext() override
Definition NUM1Parser.cpp:602
libetonyek::NUMCollector
Definition NUMCollector.h:21
libetonyek::KEY1Token::dict
@ dict
Definition KEY1Token.h:51
libetonyek
Definition IWORKBezierElement.cpp:21
libetonyek::RVNGInputStreamPtr_t
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition libetonyek_utils.h:82
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20
libetonyek::NUM1Dictionary
Definition NUM1Dictionary.h:19