IWORKNumericPropertyContext.h Source File documentation

IWORKNumericPropertyContext.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 IWORKNUMERICPROPERTYCONTEXT_H_INCLUDED
11 #define IWORKNUMERICPROPERTYCONTEXT_H_INCLUDED
12
13 #include "IWORKNumberElement.h"
14 #include "IWORKPropertyContext.h"
15
16 namespace libetonyek
17 {
18
19 template<class Property>
20 class IWORKNumericPropertyContext : public IWORKPropertyContext<Property, IWORKNumberElement<typename IWORKPropertyInfo<Property>::ValueType>, IWORKToken::NS_URI_SF | IWORKToken::number>
21 {
22 typedef IWORKPropertyContext<Property, IWORKNumberElement<typename IWORKPropertyInfo<Property>::ValueType>, IWORKToken::NS_URI_SF | IWORKToken::number> Parent_t;
23
24 public:
25 IWORKNumericPropertyContext(IWORKXMLParserState &state, IWORKPropertyMap &propMap);
26 };
27
28 template<class Property>
29 IWORKNumericPropertyContext<Property>::IWORKNumericPropertyContext(IWORKXMLParserState &state, IWORKPropertyMap &propMap)
30 : Parent_t(state, propMap)
31 {
32 }
33
34 }
35
36 #endif // IWORKNUMERICPROPERTYCONTEXT_H_INCLUDED
37
38 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:18
libetonyek::IWORKNumericPropertyContext
Definition: IWORKNumericPropertyContext.h:20
libetonyek::IWORKPropertyMap
Represents a (hierarchical) property map.
Definition: IWORKPropertyMap.h:24
libetonyek::IWORKToken::number
Definition: IWORKToken.h:211
libetonyek::IWORKNumericPropertyContext::Parent_t
IWORKPropertyContext< Property, IWORKNumberElement< typename IWORKPropertyInfo< Property >::ValueType >, IWORKToken::NS_URI_SF|IWORKToken::number > Parent_t
Definition: IWORKNumericPropertyContext.h:22
libetonyek::IWORKToken::NS_URI_SF
Definition: IWORKToken.h:418
IWORKPropertyContext.h
libetonyek::IWORKXMLParserState
Definition: IWORKXMLParserState.h:30
libetonyek::IWORKNumericPropertyContext::IWORKNumericPropertyContext
IWORKNumericPropertyContext(IWORKXMLParserState &state, IWORKPropertyMap &propMap)
Definition: IWORKNumericPropertyContext.h:29
IWORKNumberElement.h
libetonyek::IWORKPropertyContext
Definition: IWORKPropertyContext.h:22