PAG1XMLContextBase.h Source File documentation

PAG1XMLContextBase.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 PAG1XMLCONTEXTBASE_H_INCLUDED
11 #define PAG1XMLCONTEXTBASE_H_INCLUDED
12
13 #include "IWORKXMLContextBase.h"
14
15 namespace libetonyek
16 {
17
18 class PAG1ParserState;
19 class PAGCollector;
20
21 template<class Base>
22 class PAG1XMLContextBase : public IWORKXMLContextBase<Base, PAG1ParserState, PAGCollector>
23 {
24 typedef IWORKXMLContextBase<Base, PAG1ParserState, PAGCollector> Parent_t;
25
26 public:
27 explicit PAG1XMLContextBase(PAG1ParserState &state)
28 : Parent_t(state)
29 {
30 }
31
32 template<typename T1>
33 PAG1XMLContextBase(PAG1ParserState &state, T1 arg1)
34 : Parent_t(state, arg1)
35 {
36 }
37 };
38
39 typedef PAG1XMLContextBase<IWORKXMLContextElement> PAG1XMLElementContextBase;
40 typedef PAG1XMLContextBase<IWORKXMLContextText> PAG1XMLTextContextBase;
41 typedef PAG1XMLContextBase<IWORKXMLContextMixed> PAG1XMLixedContextBase;
42 typedef PAG1XMLContextBase<IWORKXMLContextEmpty> PAG1XMLEmptyContextBase;
43
44 }
45
46 #endif // PAG1XMLCONTEXTBASE_H_INCLUDED
47
48 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::PAG1XMLContextBase::Parent_t
IWORKXMLContextBase< Base, PAG1ParserState, PAGCollector > Parent_t
Definition: PAG1XMLContextBase.h:24
libetonyek::PAG1XMLContextBase::PAG1XMLContextBase
PAG1XMLContextBase(PAG1ParserState &state, T1 arg1)
Definition: PAG1XMLContextBase.h:33
IWORKXMLContextBase.h
libetonyek::PAG1XMLContextBase
Definition: PAG1XMLContextBase.h:22
libetonyek::PAG1XMLEmptyContextBase
PAG1XMLContextBase< IWORKXMLContextEmpty > PAG1XMLEmptyContextBase
Definition: PAG1XMLContextBase.h:42
libetonyek::PAG1XMLixedContextBase
PAG1XMLContextBase< IWORKXMLContextMixed > PAG1XMLixedContextBase
Definition: PAG1XMLContextBase.h:41
libetonyek::PAG1ParserState
Definition: PAG1ParserState.h:23
libetonyek::IWORKXMLContextBase
Definition: IWORKXMLContextBase.h:27
libetonyek::PAG1XMLContextBase::PAG1XMLContextBase
PAG1XMLContextBase(PAG1ParserState &state)
Definition: PAG1XMLContextBase.h:27
libetonyek::PAG1XMLElementContextBase
PAG1XMLContextBase< IWORKXMLContextElement > PAG1XMLElementContextBase
Definition: PAG1XMLContextBase.h:39
libetonyek::PAG1XMLTextContextBase
PAG1XMLContextBase< IWORKXMLContextText > PAG1XMLTextContextBase
Definition: PAG1XMLContextBase.h:40