IWORKCoreImageFilterDescriptorElement.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 IWORKCOREIMAGEFILTERDESCRIPTORELEMENT_H_INCLUDED
11#define IWORKCOREIMAGEFILTERDESCRIPTORELEMENT_H_INCLUDED
12
13#include "IWORKXMLContextBase.h"
14
15 namespace libetonyek
16{
17
18 class IWORKCoreImageFilterDescriptorElement : public IWORKXMLEmptyContextBase
19{
20 public:
21 IWORKCoreImageFilterDescriptorElement(IWORKXMLParserState &state, bool &isShadow);
22
23 private:
24 void attribute(int name, const char *value) override;
25 void endOfElement() override;
26
27 private:
28 bool &m_isShadow;
29};
30
31}
32
33#endif // IWORKCOREIMAGEFILTERDESCRIPTORELEMENT_H_INCLUDED
34
35/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKXMLContextBase.h
libetonyek::IWORKCoreImageFilterDescriptorElement::endOfElement
void endOfElement() override
Signalize the end of an element.
Definition IWORKCoreImageFilterDescriptorElement.cpp:34
libetonyek::IWORKCoreImageFilterDescriptorElement::IWORKCoreImageFilterDescriptorElement
IWORKCoreImageFilterDescriptorElement(IWORKXMLParserState &state, bool &isShadow)
Definition IWORKCoreImageFilterDescriptorElement.cpp:20
libetonyek::IWORKCoreImageFilterDescriptorElement::m_isShadow
bool & m_isShadow
Definition IWORKCoreImageFilterDescriptorElement.h:28
libetonyek::IWORKCoreImageFilterDescriptorElement::attribute
void attribute(int name, const char *value) override
Process an attribute.
Definition IWORKCoreImageFilterDescriptorElement.cpp:26
libetonyek::IWORKXMLParserState
Definition IWORKXMLParserState.h:32
libetonyek::IWORKToken::value
@ value
Definition IWORKToken.h:631
libetonyek::IWORKToken::name
@ name
Definition IWORKToken.h:585
libetonyek
Definition IWORKBezierElement.cpp:21
libetonyek::IWORKXMLEmptyContextBase
IWORKXMLContextBase< IWORKXMLContextEmpty, IWORKXMLParserState > IWORKXMLEmptyContextBase
Definition IWORKXMLContextBase.h:127