libetonyek::IWORKStyleContext Class Reference

#include <IWORKStyleContext.h>

Inheritance diagram for libetonyek::IWORKStyleContext:
libetonyek::IWORKXMLContextBase< Base, State, Collector >

Public Member Functions

 IWORKStyleContext (IWORKXMLParserState &state, int id, bool nested=false)
 
 IWORKStyleContext (IWORKXMLParserState &state, int id, IWORKPropertyMap &props, bool nested=false)
 
virtual void attribute (int name, const char *value)
 
virtual void endOfElement ()
 
- Public Member Functions inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
 IWORKXMLContextBase (State &state)
 
template<typename T >
 IWORKXMLContextBase (State &state, const T &a)
 
State & getState ()
 

Private Member Functions

virtual IWORKXMLContextPtr_t element (int name)
 
IWORKDictionarygetDictionary ()
 

Private Attributes

const int m_id
 
const bool m_nested
 
IWORKPropertyMap m_ownProps
 
IWORKPropertyMapm_props
 
boost::optional< std::string > m_ident
 
boost::optional< std::string > m_parentIdent
 

Additional Inherited Members

- Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
Collector * getCollector () const
 
int getToken (const char *const value) const
 
- Protected Attributes inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
State & m_state
 

Constructor & Destructor Documentation

libetonyek::IWORKStyleContext::IWORKStyleContext ( IWORKXMLParserState state,
int  id,
bool  nested = false 
)
libetonyek::IWORKStyleContext::IWORKStyleContext ( IWORKXMLParserState state,
int  id,
IWORKPropertyMap props,
bool  nested = false 
)

Member Function Documentation

void libetonyek::IWORKStyleContext::attribute ( int  name,
const char *  value 
)
virtual
IWORKXMLContextPtr_t libetonyek::IWORKStyleContext::element ( int  name)
privatevirtual
void libetonyek::IWORKStyleContext::endOfElement ( )
virtual
IWORKDictionary & libetonyek::IWORKStyleContext::getDictionary ( )
private

Referenced by endOfElement().

Member Data Documentation

const int libetonyek::IWORKStyleContext::m_id
private

Referenced by endOfElement().

boost::optional<std::string> libetonyek::IWORKStyleContext::m_ident
private

Referenced by attribute(), and endOfElement().

const bool libetonyek::IWORKStyleContext::m_nested
private

Referenced by endOfElement().

IWORKPropertyMap libetonyek::IWORKStyleContext::m_ownProps
private
boost::optional<std::string> libetonyek::IWORKStyleContext::m_parentIdent
private

Referenced by attribute(), and endOfElement().

IWORKPropertyMap& libetonyek::IWORKStyleContext::m_props
private

Referenced by element(), and endOfElement().


The documentation for this class was generated from the following files:

Generated for libetonyek by doxygen 1.8.8