10#ifndef IWORKVALUECONTEXT_H_INCLUDED
11#define IWORKVALUECONTEXT_H_INCLUDED
13#include <boost/optional.hpp>
20template<
typename Type,
class NestedParser,
unsigned Id,
unsigned Id2=0>
50 if (
name == Id || (Id2 &&
name == Id2))
Definition IWORKValueContext.h:22
Type *const m_direct
Definition IWORKValueContext.h:79
IWORKValueContext & operator=(const IWORKValueContext &)
IWORKValueContext(IWORKXMLParserState &state, Type &value, bool *isSet=nullptr)
Definition IWORKValueContext.h:33
boost::optional< Type > & m_optional
Definition IWORKValueContext.h:78
IWORKXMLContextPtr_t element(const int name) override
Definition IWORKValueContext.h:48
void set(const Type &value)
Definition IWORKValueContext.h:43
void endOfElement() override
Definition IWORKValueContext.h:56
IWORKValueContext(IWORKXMLParserState &state, boost::optional< Type > &value)
Definition IWORKValueContext.h:24
bool *const m_isSet
Definition IWORKValueContext.h:80
IWORKValueContext(const IWORKValueContext &)
boost::optional< Type > m_value
Definition IWORKValueContext.h:77
Definition IWORKXMLContextBase.h:28
State & getState()
Definition IWORKXMLContextBase.h:43
Definition IWORKXMLParserState.h:32
#define ETONYEK_DEBUG_MSG(M)
Definition libetonyek_utils.h:54
@ value
Definition IWORKToken.h:631
@ name
Definition IWORKToken.h:585
Definition IWORKBezierElement.cpp:21
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20
const ValueT & get(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field)
Definition IWAField.h:190