NUM1XMLContextBase.h Source File documentation

NUM1XMLContextBase.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 NUM1XMLCONTEXTBASE_H_INCLUDED
11 #define NUM1XMLCONTEXTBASE_H_INCLUDED
12
13 #include "IWORKXMLContextBase.h"
14
15 namespace libetonyek
16 {
17
18 class NUM1ParserState;
19 class NUMCollector;
20
21 template<class Base>
22 class NUM1XMLContextBase : public IWORKXMLContextBase<Base, NUM1ParserState, NUMCollector>
23 {
24 typedef IWORKXMLContextBase<Base, NUM1ParserState, NUMCollector> Parent_t;
25
26 public:
27 explicit NUM1XMLContextBase(NUM1ParserState &state)
28 : Parent_t(state)
29 {
30 }
31 };
32
33 typedef NUM1XMLContextBase<IWORKXMLContextElement> NUM1XMLElementContextBase;
34 typedef NUM1XMLContextBase<IWORKXMLContextText> NUM1XMLTextContextBase;
35 typedef NUM1XMLContextBase<IWORKXMLContextMixed> NUM1XMLixedContextBase;
36 typedef NUM1XMLContextBase<IWORKXMLContextEmpty> NUM1XMLEmptyContextBase;
37
38 }
39
40 #endif // NUM1XMLCONTEXTBASE_H_INCLUDED
41
42 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:18
IWORKXMLContextBase.h
libetonyek::NUM1XMLContextBase::Parent_t
IWORKXMLContextBase< Base, NUM1ParserState, NUMCollector > Parent_t
Definition: NUM1XMLContextBase.h:24
libetonyek::NUM1XMLContextBase
Definition: NUM1XMLContextBase.h:22
libetonyek::NUM1XMLEmptyContextBase
NUM1XMLContextBase< IWORKXMLContextEmpty > NUM1XMLEmptyContextBase
Definition: NUM1XMLContextBase.h:36
libetonyek::NUM1XMLixedContextBase
NUM1XMLContextBase< IWORKXMLContextMixed > NUM1XMLixedContextBase
Definition: NUM1XMLContextBase.h:35
libetonyek::IWORKXMLContextBase
Definition: IWORKXMLContextBase.h:27
libetonyek::NUM1XMLContextBase::NUM1XMLContextBase
NUM1XMLContextBase(NUM1ParserState &state)
Definition: NUM1XMLContextBase.h:27
libetonyek::NUM1XMLTextContextBase
NUM1XMLContextBase< IWORKXMLContextText > NUM1XMLTextContextBase
Definition: NUM1XMLContextBase.h:34
libetonyek::NUM1XMLElementContextBase
NUM1XMLContextBase< IWORKXMLContextElement > NUM1XMLElementContextBase
Definition: NUM1XMLContextBase.h:33
libetonyek::NUM1ParserState
Definition: NUM1ParserState.h:22