10#ifndef IWORKPUSHCOLLECTOR_H_INCLUDED
11#define IWORKPUSHCOLLECTOR_H_INCLUDED
17#include <boost/optional.hpp>
24template<
typename Type,
class Container = std::deque<Type> >
34 template<
class Context,
class State>
37 return std::make_shared<Context>(state,
m_value);
Definition: IWORKPushCollector.h:26
IWORKXMLContextPtr_t makeContext(State &state)
Definition: IWORKPushCollector.h:35
boost::optional< Type > m_value
Definition: IWORKPushCollector.h:54
bool pending() const
Definition: IWORKPushCollector.h:40
Container & m_collection
Definition: IWORKPushCollector.h:53
void push()
Definition: IWORKPushCollector.h:45
IWORKPushCollector(Container &collection)
Definition: IWORKPushCollector.h:28
Definition: IWORKBezierElement.cpp:21
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
const ValueT & get(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field)
Definition: IWAField.h:190