IWORKBezierElement.h Source File documentation

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