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 
15 namespace libetonyek
16 {
17 
18 class KEY2ParserState;
19 class KEYCollector;
20 
21 template<class Base>
22 class KEY2XMLContextBase : public IWORKXMLContextBase<Base, KEY2ParserState, KEYCollector>
23 {
25 
26 public:
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: */
KEY2XMLContextBase(KEY2ParserState &state, const T &a)
Definition: KEY2XMLContextBase.h:33
KEY2XMLContextBase< IWORKXMLContextText > KEY2XMLTextContextBase
Definition: KEY2XMLContextBase.h:40
Definition: KEY2ParserState.h:24
KEY2XMLContextBase< IWORKXMLContextEmpty > KEY2XMLEmptyContextBase
Definition: KEY2XMLContextBase.h:42
Definition: IWORKToken.h:508
Definition: KEY2XMLContextBase.h:22
Definition: IWORKXMLContextBase.h:27
KEY2XMLContextBase(KEY2ParserState &state)
Definition: KEY2XMLContextBase.h:27
KEY1XMLContextBase< IWORKXMLContextMixed > KEYM2XMLixedContextBase
Definition: KEY1XMLContextBase.h:41
KEY2XMLContextBase< IWORKXMLContextElement > KEY2XMLElementContextBase
Definition: KEY2XMLContextBase.h:39
IWORKXMLContextBase< Base, KEY2ParserState, KEYCollector > Parent_t
Definition: KEY2XMLContextBase.h:24

Generated for libetonyek by doxygen 1.8.6