10#ifndef IWORKPTRPROPERTYCONTEXT_H_INCLUDED
11#define IWORKPTRPROPERTYCONTEXT_H_INCLUDED
19template<
typename Property,
typename Context,
int TokenId>
33template<
typename Property,
typename Context,
int TokenId>
40template<
typename Property,
typename Context,
int TokenId>
45 return std::make_shared<Context>(getState(),
m_value);
49template<
typename Property,
typename Context,
int TokenId>
boost::optional< IWORKGradient > & m_value
Definition: IWORKFillElement.cpp:131
IWORKPropertyMap & m_propMap
Definition: IWORKPropertyMapElement.cpp:756
Definition: IWORKPropertyContextBase.h:21
Represents a (hierarchical) property map.
Definition: IWORKPropertyMap.h:25
void put(const typename IWORKPropertyInfo< Property >::ValueType &value)
Insert a new value for key key.
Definition: IWORKPropertyMap.h:134
void clear()
Clear property.
Definition: IWORKPropertyMap.h:145
Definition: IWORKPtrPropertyContext.h:21
IWORKPropertyInfo< Property >::ValueType m_value
Definition: IWORKPtrPropertyContext.h:30
void endOfElement() override
Definition: IWORKPtrPropertyContext.h:50
IWORKXMLContextPtr_t element(int name) override
Definition: IWORKPtrPropertyContext.h:41
IWORKPtrPropertyContext(IWORKXMLParserState &state, IWORKPropertyMap &propMap)
Definition: IWORKPtrPropertyContext.h:34
Definition: IWORKXMLParserState.h:32
@ name
Definition: IWORKToken.h:585
Definition: IWORKBezierElement.cpp:21
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
Definition: IWORKPropertyInfo.h:22