IWORKPathElement.h Source File documentation

IWORKPathElement.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 IWORKPATHELEMENT_H_INCLUDED
11 #define IWORKPATHELEMENT_H_INCLUDED
12
13 #include "IWORKXMLContextBase.h"
14
15 namespace libetonyek
16 {
17
18 class IWORKPathElement : public IWORKXMLElementContextBase
19 {
20 public:
21 explicit IWORKPathElement(IWORKXMLParserState &state);
22
23 private:
24 IWORKXMLContextPtr_t element(int name) override;
25 };
26
27 }
28
29 #endif // IWORKPATHELEMENT_H_INCLUDED
30
31 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::IWORKToken::point
@ point
Definition: IWORKToken.h:366
libetonyek::double_cast
double double_cast(const char *value)
Definition: libetonyek_xml.cpp:79
m_star
bool m_star
Definition: IWORKPathElement.cpp:102
libetonyek::IWORKToken::double_
@ double_
Definition: IWORKToken.h:655
libetonyek::IWORKToken::scalar_path
@ scalar_path
Definition: IWORKToken.h:388
IWORKBezierElement.h
libetonyek::IWORKToken::tailPositionX
@ tailPositionX
Definition: IWORKToken.h:615
IWORKDictionary.h
libetonyek
Definition: IWORKBezierElement.cpp:20
m_point
optional< IWORKPosition > m_point
Definition: IWORKPathElement.cpp:49
IWORKTokenizer.h
libetonyek::IWORKToken::bezier
@ bezier
Definition: IWORKToken.h:112
libetonyek::IWORKPathElement
Definition: IWORKPathElement.h:18
libetonyek::IWORKToken::type
@ type
Definition: IWORKToken.h:486
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
m_tailAtCenter
bool m_tailAtCenter
Definition: IWORKPathElement.cpp:346
libetonyek::IWORKToken::editable_bezier_path
@ editable_bezier_path
Definition: IWORKToken.h:187
IWORKPathElement.h
IWORKPositionElement.h
libetonyek::IWORKToken::point_path
@ point_path
Definition: IWORKToken.h:367
m_y
boost::optional< unsigned > m_y
Definition: IWORKFormulaElement.cpp:111
libetonyek::IWORKToken::bezier_path
@ bezier_path
Definition: IWORKToken.h:113
m_tailPosX
double m_tailPosX
Definition: IWORKPathElement.cpp:347
ETONYEK_DEBUG_MSG
#define ETONYEK_DEBUG_MSG(M)
Definition: libetonyek_utils.h:54
libetonyek::IWORKToken::tailAtCenter
@ tailAtCenter
Definition: IWORKToken.h:614
m_value
double m_value
Definition: IWORKPathElement.cpp:203
libetonyek::IWORKToken::connection_path
@ connection_path
Definition: IWORKToken.h:158
m_tailSize
double m_tailSize
Definition: IWORKPathElement.cpp:349
libetonyek::IWORKToken::path
@ path
Definition: IWORKToken.h:358
m_size
optional< IWORKSize > m_size
Definition: IWORKPathElement.cpp:48
libetonyek::IWORKToken::callout2_path
@ callout2_path
Definition: IWORKToken.h:124
libetonyek::IWORKXMLParserState
Definition: IWORKXMLParserState.h:31
libetonyek::IWORKToken::bezier_ref
@ bezier_ref
Definition: IWORKToken.h:114
libetonyek::IWORKToken::right
@ right
Definition: IWORKToken.h:597
libetonyek::IWORKToken::size
@ size
Definition: IWORKToken.h:395
libetonyek::IWORKToken::scalar
@ scalar
Definition: IWORKToken.h:599
m_doubleArrow
bool m_doubleArrow
Definition: IWORKPathElement.cpp:103
libetonyek::IWORKToken::star
@ star
Definition: IWORKToken.h:672
libetonyek::bool_cast
bool bool_cast(const char *value)
Convert string value to bool.
Definition: libetonyek_xml.cpp:56
libetonyek::IWORKPathElement::IWORKPathElement
IWORKPathElement(IWORKXMLParserState &state)
Definition: IWORKPathElement.cpp:409
libetonyek::IWORKPathElement::element
IWORKXMLContextPtr_t element(int name) override
Definition: IWORKPathElement.cpp:414
m_path
IWORKPathPtr_t m_path
Definition: IWORKPathElement.cpp:284
m_polygon
bool m_polygon
Definition: IWORKPathElement.cpp:202
libetonyek::IWORKPathPtr_t
std::shared_ptr< IWORKPath > IWORKPathPtr_t
Definition: IWORKPath_fwd.h:20
libetonyek::IWORKToken::element
@ element
Definition: IWORKToken.h:188
libetonyek::IWORKToken::tailPositionY
@ tailPositionY
Definition: IWORKToken.h:616
libetonyek::IWORKToken::_0
@ _0
Definition: IWORKToken.h:640
m_width
boost::optional< double > m_width
Definition: IWORKStrokeContext.cpp:229
IWORKTypes.h
libetonyek::IWORKXMLContextBase
Definition: IWORKXMLContextBase.h:27
IWORKXMLParserState.h
libetonyek::IWORKXMLElementContextBase
IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > IWORKXMLElementContextBase
Definition: IWORKXMLContextBase.h:125
IWORKCollector.h
m_tailPosY
double m_tailPosY
Definition: IWORKPathElement.cpp:348
libetonyek::IWORKToken::cornerRadius
@ cornerRadius
Definition: IWORKToken.h:513
libetonyek::IWORKToken::_1
@ _1
Definition: IWORKToken.h:641
libetonyek::IWORKToken::tailSize
@ tailSize
Definition: IWORKToken.h:617
libetonyek::IWORKToken::NS_URI_SF
@ NS_URI_SF
Definition: IWORKToken.h:688
IWORKXMLContextBase.h
libetonyek::get_optional_value_or
const ValueT & get_optional_value_or(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field, const ValueT &value)
Definition: IWAField.h:196
IWORKToken.h
m_ref
boost::optional< ID_t > m_ref
Definition: IWORKPathElement.cpp:285
libetonyek::get
const ValueT & get(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field)
Definition: IWAField.h:190
IWORKRefContext.h
IWORKSizeElement.h
libetonyek::IWORKToken::name
@ name
Definition: IWORKToken.h:578
libetonyek::IWORKToken::value
@ value
Definition: IWORKToken.h:624
m_cornerRadius
double m_cornerRadius
Definition: IWORKPathElement.cpp:345
m_x
boost::optional< unsigned > m_x
Definition: IWORKFormulaElement.cpp:111
libetonyek_xml.h
libetonyek::IWORKXMLContextBase::getState
State & getState()
Definition: IWORKXMLContextBase.h:43