KEY2ParserState.h Source File documentation

KEY2ParserState.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 KEY2PARSERSTATE_H_INCLUDED
11 #define KEY2PARSERSTATE_H_INCLUDED
12
13 #include "IWORKXMLParserState.h"
14
15 namespace libetonyek
16 {
17
18 class KEY2Parser;
19 class KEYCollector;
20 struct KEY2Dictionary;
21
22 class KEY2ParserState : public IWORKXMLParserState
23 {
24 // not copyable
25 KEY2ParserState(const KEY2ParserState &);
26 KEY2ParserState &operator=(const KEY2ParserState &);
27
28 public:
29 KEY2ParserState(KEY2Parser &parser, KEYCollector &collector, KEY2Dictionary &dict);
30
31 KEY2Dictionary &getDictionary();
32 KEYCollector &getCollector();
33
34 private:
35 KEY2Dictionary &m_dict;
36 KEYCollector &m_collector;
37 };
38
39 }
40
41 #endif // KEY2PARSERSTATE_H_INCLUDED
42
43 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:18
libetonyek::KEY2ParserState::KEY2ParserState
KEY2ParserState(const KEY2ParserState &)
libetonyek::KEY1Token::dict
Definition: KEY1Token.h:49
libetonyek::KEY2ParserState::m_collector
KEYCollector & m_collector
Definition: KEY2ParserState.h:36
libetonyek::KEY2ParserState::m_dict
KEY2Dictionary & m_dict
Definition: KEY2ParserState.h:35
libetonyek::KEY2Dictionary
A dictionary of all referenceable entities in the presentation.
Definition: KEY2Dictionary.h:33
IWORKXMLParserState.h
libetonyek::KEY2ParserState
Definition: KEY2ParserState.h:22
libetonyek::IWORKXMLParserState
Definition: IWORKXMLParserState.h:30
libetonyek::KEYCollector
Definition: KEYCollector.h:24
libetonyek::KEY2ParserState::operator=
KEY2ParserState & operator=(const KEY2ParserState &)
libetonyek::KEY2ParserState::getCollector
KEYCollector & getCollector()
Definition: KEY2ParserState.cpp:31
libetonyek::KEY2ParserState::getDictionary
KEY2Dictionary & getDictionary()
Definition: KEY2ParserState.cpp:26
libetonyek::KEY2Parser
Definition: KEY2Parser.h:22