IWORKWrapElement.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 IWORKWRAPELEMENT_H_INCLUDED
11#define IWORKWRAPELEMENT_H_INCLUDED
12
13#include <boost/optional.hpp>
14
15#include "IWORKTypes.h"
16#include "IWORKXMLContextBase.h"
17
18namespace libetonyek
19{
20
22{
23public:
24 IWORKExternalTextWrapElement(IWORKXMLParserState &state, boost::optional<IWORKExternalTextWrap> &wrap);
25
26protected:
27 void attribute(int name, const char *value) override;
28 IWORKXMLContextPtr_t element(int name) override;
29 void endOfElement() override;
30
31private:
34
35 boost::optional<IWORKExternalTextWrap> &m_wrap;
36};
37
39{
40public:
41 IWORKWrapElement(IWORKXMLParserState &state, boost::optional<IWORKWrap> &wrap);
42
43protected:
44 void attribute(int name, const char *value) override;
45 IWORKXMLContextPtr_t element(int name) override;
46
47private:
50
51 boost::optional<IWORKWrap> &m_wrap;
52};
53
54}
55
56#endif // IWORKWRAPELEMENT_H_INCLUDED
57
58/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition IWORKWrapElement.h:22
void attribute(int name, const char *value) override
Definition IWORKWrapElement.cpp:94
IWORKExternalTextWrapElement(const IWORKExternalTextWrapElement &)
boost::optional< IWORKExternalTextWrap > & m_wrap
Definition IWORKWrapElement.h:35
void endOfElement() override
Definition IWORKWrapElement.cpp:200
IWORKExternalTextWrapElement(IWORKXMLParserState &state, boost::optional< IWORKExternalTextWrap > &wrap)
Definition IWORKWrapElement.cpp:87
IWORKExternalTextWrapElement & operator=(const IWORKExternalTextWrapElement &)
Definition IWORKWrapElement.h:39
boost::optional< IWORKWrap > & m_wrap
Definition IWORKWrapElement.h:51
IWORKWrapElement & operator=(const IWORKWrapElement &)
IWORKWrapElement(IWORKXMLParserState &state, boost::optional< IWORKWrap > &wrap)
Definition IWORKWrapElement.cpp:206
IWORKWrapElement(const IWORKWrapElement &)
void attribute(int name, const char *value) override
Definition IWORKWrapElement.cpp:213
Definition IWORKXMLContextBase.h:28
Definition IWORKXMLParserState.h:32
@ value
Definition IWORKToken.h:631
@ element
Definition IWORKToken.h:192
@ wrap
Definition IWORKToken.h:503
@ name
Definition IWORKToken.h:585
Definition IWORKBezierElement.cpp:21
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20

Generated for libetonyek by doxygen 1.12.0