PAG1ShapeContext.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 PAG1SHAPECONTEXT_H_INCLUDED
11#define PAG1SHAPECONTEXT_H_INCLUDED
12
13#include "IWORKShapeContext.h"
14#include "PAG1XMLContextBase.h"
15
16 namespace libetonyek
17{
18
19 class PAG1ShapeContext : public PAG1XMLContextBase<IWORKShapeContext>
20{
21 public:
22 explicit PAG1ShapeContext(PAG1ParserState &state);
23
24 private:
25 void attribute(int name, const char *value) override;
26 IWORKXMLContextPtr_t element(int name) override;
27};
28
29}
30
31#endif // PAG1SHAPECONTEXT_H_INCLUDED
32
33/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKShapeContext.h
PAG1XMLContextBase.h
libetonyek::PAG1ParserState
Definition PAG1ParserState.h:24
libetonyek::PAG1ShapeContext::PAG1ShapeContext
PAG1ShapeContext(PAG1ParserState &state)
Definition PAG1ShapeContext.cpp:65
libetonyek::PAG1ShapeContext::attribute
void attribute(int name, const char *value) override
Process an attribute.
Definition PAG1ShapeContext.cpp:70
libetonyek::PAG1XMLContextBase< IWORKShapeContext >::PAG1XMLContextBase
PAG1XMLContextBase(PAG1ParserState &state)
Definition PAG1XMLContextBase.h:27
libetonyek::IWORKToken::value
@ value
Definition IWORKToken.h:631
libetonyek::IWORKToken::element
@ element
Definition IWORKToken.h:192
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