IWORKXMLParserState.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 IWORKXMLPARSERSTATE_H_INCLUDED
11 #define IWORKXMLPARSERSTATE_H_INCLUDED
12 
13 #include <boost/shared_ptr.hpp>
14 
15 #include "IWORKStylesheet.h"
16 #include "IWORKTypes_fwd.h"
17 
18 namespace libetonyek
19 {
20 
21 class IWORKCollector;
22 struct IWORKDictionary;
23 class IWORKParser;
24 class IWORKTokenizer;
25 
27 {
28  // not copyable
31 
32 public:
34 
38  const IWORKTokenizer &getTokenizer() const;
39 
40 public:
43  // When false, nothing should be sent to collector. This is used to
44  // gather referenceable entities in skipped parts of the file.
46 
47 private:
51 };
52 
53 }
54 
55 #endif // IWORKXMLPARSERSTATE_H_INCLUDED
56 
57 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
boost::shared_ptr< IWORKStylesheet > IWORKStylesheetPtr_t
Definition: IWORKStylesheet.h:19
Definition: IWORKParser.h:23
bool m_enableCollector
Definition: IWORKXMLParserState.h:45
const IWORKTokenizer & getTokenizer() const
Definition: IWORKXMLParserState.cpp:45
IWORKXMLParserState & operator=(const IWORKXMLParserState &)
IWORKXMLParserState(const IWORKXMLParserState &)
IWORKParser & getParser()
Definition: IWORKXMLParserState.cpp:30
IWORKCollector & m_collector
Definition: IWORKXMLParserState.h:49
IWORKDictionary & getDictionary()
Definition: IWORKXMLParserState.cpp:35
A dictionary of all referenceable entities in the presentation.
Definition: IWORKDictionary.h:35
IWORKStylesheetPtr_t m_stylesheet
Definition: IWORKXMLParserState.h:42
IWORKTableDataPtr_t m_tableData
Definition: IWORKXMLParserState.h:41
IWORKCollector & getCollector() const
Definition: IWORKXMLParserState.cpp:40
Definition: IWORKCollector.h:40
IWORKParser & m_parser
Definition: IWORKXMLParserState.h:48
Definition: IWORKXMLParserState.h:26
Definition: KEY1Token.h:49
boost::shared_ptr< IWORKTableData > IWORKTableDataPtr_t
Definition: IWORKTypes_fwd.h:68
IWORKDictionary & m_dict
Definition: IWORKXMLParserState.h:50
Definition: IWORKTokenizer.h:16

Generated for libetonyek by doxygen 1.8.6