10 #ifndef IWORKPTRPROPERTYCONTEXT_H_INCLUDED
11 #define IWORKPTRPROPERTYCONTEXT_H_INCLUDED
19 template<
typename Property,
typename Context,
int TokenId>
33 template<
typename Property,
typename Context,
int TokenId>
40 template<
typename Property,
typename Context,
int TokenId>
45 return makeContext<Context>(getState(),
m_value);
49 template<
typename Property,
typename Context,
int TokenId>
60 #endif // IWORKPTRPROPERTYCONTEXT_H_INCLUDED
Definition: IWORKBezierElement.cpp:18
Represents a (hierarchical) property map.
Definition: IWORKPropertyMap.h:23
virtual IWORKXMLContextPtr_t element(int name)
Definition: IWORKPtrPropertyContext.h:41
void clear()
Clear property.
Definition: IWORKPropertyMap.h:144
Definition: IWORKPtrPropertyContext.h:20
IWORKPropertyMap & m_propMap
Definition: IWORKPropertyMapElement.cpp:759
boost::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
IWORKPtrPropertyContext(IWORKXMLParserState &state, IWORKPropertyMap &propMap)
Definition: IWORKPtrPropertyContext.h:34
virtual void endOfElement()
Definition: IWORKPtrPropertyContext.h:50
Definition: IWORKPropertyInfo.h:21
Definition: IWORKPropertyContextBase.h:20
const char * name
Definition: IWORKToken.cpp:43
Definition: IWORKXMLParserState.h:30
void put(const typename IWORKPropertyInfo< Property >::ValueType &value)
Insert a new value for key key.
Definition: IWORKPropertyMap.h:133
IWORKPropertyInfo< Property >::ValueType m_value
Definition: IWORKPtrPropertyContext.h:30