KEY2XMLContextBase.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 KEY2XMLCONTEXTBASE_H_INCLUDED
11#define KEY2XMLCONTEXTBASE_H_INCLUDED
12
13#include "IWORKXMLContextBase.h"
14
15namespace libetonyek
16{
17
18class KEY2ParserState;
19class KEYCollector;
20
21template<class Base>
22class KEY2XMLContextBase : public IWORKXMLContextBase<Base, KEY2ParserState, KEYCollector>
23{
25
26public:
28 : Parent_t(state)
29 {
30 }
31
32 template<typename T>
34 : Parent_t(state, a)
35 {
36 }
37};
38
43
44}
45
46#endif // KEY2XMLCONTEXTBASE_H_INCLUDED
47
48/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKXMLContextBase(KEY2ParserState &state)
Definition IWORKXMLContextBase.h:30
Definition KEY2ParserState.h:25
Definition KEY2XMLContextBase.h:23
IWORKXMLContextBase< Base, KEY2ParserState, KEYCollector > Parent_t
Definition KEY2XMLContextBase.h:24
KEY2XMLContextBase(KEY2ParserState &state, const T &a)
Definition KEY2XMLContextBase.h:33
KEY2XMLContextBase(KEY2ParserState &state)
Definition KEY2XMLContextBase.h:27
Definition KEYCollector.h:25
@ a
Definition IWORKToken.h:508
Definition IWORKBezierElement.cpp:21
KEY2XMLContextBase< IWORKXMLContextText > KEY2XMLTextContextBase
Definition KEY2XMLContextBase.h:40
KEY2XMLContextBase< IWORKXMLContextElement > KEY2XMLElementContextBase
Definition KEY2XMLContextBase.h:39
KEY2XMLContextBase< IWORKXMLContextEmpty > KEY2XMLEmptyContextBase
Definition KEY2XMLContextBase.h:42
KEY1XMLContextBase< IWORKXMLContextMixed > KEYM2XMLixedContextBase
Definition KEY1XMLContextBase.h:41

Generated for libetonyek by doxygen 1.13.2