IWORKPropertyMapElement.h Source File documentation

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
15namespace libetonyek
16{
17
18class IWORKPropertyHandler;
19class IWORKPropertyMap;
20class IWORKXMLParserState;
21
22 class IWORKPropertyMapElement : public IWORKXMLElementContextBase
23{
24public:
25 IWORKPropertyMapElement(IWORKXMLParserState &state, IWORKPropertyMap &propMap);
26 IWORKPropertyMapElement(IWORKXMLParserState &state, IWORKPropertyHandler &propHandler);
27
28 IWORKXMLContextPtr_t element(int name) override;
29
30private:
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: */
IWORKXMLContextBase.h
libetonyek::IWORKPropertyHandler
Definition IWORKPropertyHandler.h:19
libetonyek::IWORKPropertyMapElement::IWORKPropertyMapElement
IWORKPropertyMapElement(const IWORKPropertyMapElement &)
libetonyek::IWORKPropertyMapElement::m_propMap
IWORKPropertyMap * m_propMap
Definition IWORKPropertyMapElement.h:34
libetonyek::IWORKPropertyMapElement::element
IWORKXMLContextPtr_t element(int name) override
Create a context for parsing a child element.
Definition IWORKPropertyMapElement.cpp:919
libetonyek::IWORKPropertyMapElement::IWORKPropertyMapElement
IWORKPropertyMapElement(IWORKXMLParserState &state, IWORKPropertyMap &propMap)
Definition IWORKPropertyMapElement.cpp:905
libetonyek::IWORKPropertyMapElement::operator=
IWORKPropertyMapElement & operator=(const IWORKPropertyMapElement &)
libetonyek::IWORKPropertyMapElement::m_propHandler
IWORKPropertyHandler * m_propHandler
Definition IWORKPropertyMapElement.h:35
libetonyek::IWORKPropertyMap
Represents a (hierarchical) property map.
Definition IWORKPropertyMap.h:25
libetonyek::IWORKXMLParserState
Definition IWORKXMLParserState.h:32
libetonyek::IWORKToken::name
@ name
Definition IWORKToken.h:585
libetonyek
Definition IWORKBezierElement.cpp:21
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20
libetonyek::IWORKXMLElementContextBase
IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > IWORKXMLElementContextBase
Definition IWORKXMLContextBase.h:124