IWORKPropertyMapElement.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 IWORKPROPERTYMAPELEMENT_H_INCLUDED
11 #define IWORKPROPERTYMAPELEMENT_H_INCLUDED
12
13 #include "IWORKXMLContextBase.h"
14
15 namespace libetonyek
16 {
17
18 class IWORKPropertyHandler;
19 class IWORKPropertyMap;
20 class IWORKXMLParserState;
21
22 class IWORKPropertyMapElement : public IWORKXMLElementContextBase
23 {
24 public:
25 IWORKPropertyMapElement(IWORKXMLParserState &state, IWORKPropertyMap &propMap);
26 IWORKPropertyMapElement(IWORKXMLParserState &state, IWORKPropertyHandler &propHandler);
27
28 IWORKXMLContextPtr_t element(int name) override;
29
30 private:
31 IWORKPropertyMapElement(const IWORKPropertyMapElement &);
32 IWORKPropertyMapElement &operator=(const IWORKPropertyMapElement &);
33
34 IWORKPropertyMap *m_propMap;
35 IWORKPropertyHandler *m_propHandler;
36 };
37
38 }
39
40 #endif // IWORKPROPERTYMAPELEMENT_H_INCLUDED
41
42 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
IWORKXMLContextBase.h
libetonyek::IWORKPropertyMap
Represents a (hierarchical) property map.
Definition: IWORKPropertyMap.h:24
libetonyek::IWORKPropertyMapElement::m_propHandler
IWORKPropertyHandler * m_propHandler
Definition: IWORKPropertyMapElement.h:35
name
const char * name
Definition: IWORKToken.cpp:43
libetonyek::IWORKPropertyMapElement::IWORKPropertyMapElement
IWORKPropertyMapElement(IWORKXMLParserState &state, IWORKPropertyMap &propMap)
Definition: IWORKPropertyMapElement.cpp:905
libetonyek::IWORKPropertyMapElement::m_propMap
IWORKPropertyMap * m_propMap
Definition: IWORKPropertyMapElement.h:34
libetonyek::IWORKPropertyMapElement::operator=
IWORKPropertyMapElement & operator=(const IWORKPropertyMapElement &)
libetonyek::IWORKXMLContextBase
Definition: IWORKXMLContextBase.h:27
libetonyek::IWORKXMLParserState
Definition: IWORKXMLParserState.h:31
libetonyek::IWORKPropertyMapElement::element
IWORKXMLContextPtr_t element(int name) override
Definition: IWORKPropertyMapElement.cpp:919
libetonyek::IWORKPropertyMapElement
Definition: IWORKPropertyMapElement.h:22
libetonyek::IWORKPropertyHandler
Definition: IWORKPropertyHandler.h:18