KEY2Parser.h Source File documentation

KEY2Parser.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 KEY2PARSER_H_INCLUDED
11#define KEY2PARSER_H_INCLUDED
12
13#include "IWORKParser.h"
14#include "KEY2ParserState.h"
15
16namespace libetonyek
17{
18
19class KEYCollector;
20struct KEY2Dictionary;
21
22 class KEY2Parser : public IWORKParser
23{
24public:
25 KEY2Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, KEYCollector &collector, KEY2Dictionary &dict);
26 ~KEY2Parser() override;
27
28private:
29 IWORKXMLContextPtr_t createDocumentContext() override;
30 IWORKXMLContextPtr_t createDiscardContext() override;
31 const IWORKTokenizer &getTokenizer() const override;
32
33private:
34 KEY2ParserState m_state;
35};
36
37}
38
39#endif // KEY2PARSER_H_INCLUDED
40
41/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKParser.h
KEY2ParserState.h
libetonyek::IWORKParser::IWORKParser
IWORKParser(const IWORKParser &)
libetonyek::IWORKTokenizer
Definition IWORKTokenizer.h:17
libetonyek::KEY2ParserState
Definition KEY2ParserState.h:25
libetonyek::KEY2Parser::createDiscardContext
IWORKXMLContextPtr_t createDiscardContext() override
Definition KEY2Parser.cpp:1614
libetonyek::KEY2Parser::createDocumentContext
IWORKXMLContextPtr_t createDocumentContext() override
Definition KEY2Parser.cpp:1609
libetonyek::KEY2Parser::getTokenizer
const IWORKTokenizer & getTokenizer() const override
Definition KEY2Parser.cpp:1619
libetonyek::KEY2Parser::KEY2Parser
KEY2Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, KEYCollector &collector, KEY2Dictionary &dict)
Definition KEY2Parser.cpp:1599
libetonyek::KEY2Parser::m_state
KEY2ParserState m_state
Definition KEY2Parser.h:34
libetonyek::KEYCollector
Definition KEYCollector.h:25
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::KEY2Dictionary
A dictionary of all referenceable entities in the presentation.
Definition KEY2Dictionary.h:34