10 #ifndef IWORKPUSHCOLLECTOR_H_INCLUDED 11 #define IWORKPUSHCOLLECTOR_H_INCLUDED 16 #include <boost/optional.hpp> 23 template<
typename Type,
class Container = std::deque<Type> >
33 template<
class Context,
class State>
36 return libetonyek::makeContext<Context>(state,
m_value);
57 #endif // IWORKPUSHCOLLECTOR_H_INCLUDED Definition: IWORKBezierElement.cpp:18
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
IWORKXMLContextPtr_t makeContext(State &state)
Definition: IWORKPushCollector.h:34
boost::optional< Type > m_value
Definition: IWORKPushCollector.h:52
Container & m_collection
Definition: IWORKPushCollector.h:51
Definition: IWORKPushCollector.h:24
void push()
Definition: IWORKPushCollector.h:44
bool pending() const
Definition: IWORKPushCollector.h:39
IWORKPushCollector(Container &collection)
Definition: IWORKPushCollector.h:27