10 #ifndef IWORKCONTAINERCONTEXT_H_INCLUDED    11 #define IWORKCONTAINERCONTEXT_H_INCLUDED    16 #include <boost/optional.hpp>    25 template<
typename Type, 
class NestedParser, 
template<
typename T, 
class C> 
class Collector, 
unsigned Id, 
unsigned RefId = 0>
    28   typedef boost::unordered_map<ID_t, Type> 
Dict_t;
    57     else if ((RefId != 0) && (name == RefId))
    75     const typename Dict_t::const_iterator it = 
m_dict->find(
get(
m_ref));
    91 #endif // IWORKCONTAINERCONTEXT_H_INCLUDED Definition: IWORKBezierElement.cpp:18
Collector< Type, std::deque< Type > > m_collector
Definition: IWORKContainerContext.h:86
std::deque< Type > & m_elements
Definition: IWORKContainerContext.h:85
Definition: KEY1Token.h:49
virtual IWORKXMLContextPtr_t element(const int name)
Definition: IWORKContainerContext.h:48
Dict_t *const m_dict
Definition: IWORKContainerContext.h:83
boost::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
IWORKContainerContext(IWORKXMLParserState &state, std::deque< Type > &elements)
Definition: IWORKContainerContext.h:31
boost::unordered_map< ID_t, Type > Dict_t
Definition: IWORKContainerContext.h:28
State & getState()
Definition: IWORKXMLContextBase.h:43
const char * name
Definition: IWORKToken.cpp:43
void handleRef()
Definition: IWORKContainerContext.h:71
Definition: IWORKContainerContext.h:26
virtual void endOfElement()
Definition: IWORKContainerContext.h:62
Definition: IWORKXMLContextBase.h:27
Definition: IWORKXMLParserState.h:30
boost::optional< ID_t > m_ref
Definition: IWORKContainerContext.h:84
IWORKContainerContext(IWORKXMLParserState &state, Dict_t &dict, std::deque< Type > &elements)
Definition: IWORKContainerContext.h:39