KEY2Parser.h Source File documentation

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

- File List
- File Members

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
16 namespace libetonyek
17 {
18
19 class KEYCollector;
20 struct KEY2Dictionary;
21
22 class KEY2Parser : public IWORKParser
23 {
24 public:
25 KEY2Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, KEYCollector &collector, KEY2Dictionary &dict);
26 virtual ~KEY2Parser();
27
28 private:
29 virtual IWORKXMLContextPtr_t createDocumentContext();
30 virtual IWORKXMLContextPtr_t createDiscardContext();
31 virtual const IWORKTokenizer &getTokenizer() const;
32
33 private:
34 KEY2ParserState m_state;
35 };
36
37 }
38
39 #endif // KEY2PARSER_H_INCLUDED
40
41 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:18
libetonyek::IWORKParser
Definition: IWORKParser.h:23
KEY2ParserState.h
libetonyek::KEY1Token::dict
Definition: KEY1Token.h:49
libetonyek::KEY2Parser::KEY2Parser
KEY2Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, KEYCollector &collector, KEY2Dictionary &dict)
Definition: KEY2Parser.cpp:1329
libetonyek::KEY2Parser::m_state
KEY2ParserState m_state
Definition: KEY2Parser.h:34
libetonyek::KEY2Dictionary
A dictionary of all referenceable entities in the presentation.
Definition: KEY2Dictionary.h:33
libetonyek::IWORKXMLContextPtr_t
boost::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
libetonyek::KEY2Parser::getTokenizer
virtual const IWORKTokenizer & getTokenizer() const
Definition: KEY2Parser.cpp:1349
libetonyek::KEY2ParserState
Definition: KEY2ParserState.h:22
IWORKParser.h
libetonyek::KEY2Parser::createDocumentContext
virtual IWORKXMLContextPtr_t createDocumentContext()
Definition: KEY2Parser.cpp:1339
libetonyek::RVNGInputStreamPtr_t
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:111
libetonyek::KEYCollector
Definition: KEYCollector.h:24
libetonyek::IWORKTokenizer
Definition: IWORKTokenizer.h:16
libetonyek::KEY2Parser::createDiscardContext
virtual IWORKXMLContextPtr_t createDiscardContext()
Definition: KEY2Parser.cpp:1344
libetonyek::KEY2Parser::~KEY2Parser
virtual ~KEY2Parser()
Definition: KEY2Parser.cpp:1335
libetonyek::KEY2Parser
Definition: KEY2Parser.h:22