PAG1Parser.h Source File documentation

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