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