libetonyek::IWORKPtrPropertyContext< Property, Context, TokenId > Class Template Reference

#include <IWORKPtrPropertyContext.h>

Inheritance diagram for libetonyek::IWORKPtrPropertyContext< Property, Context, TokenId >:
libetonyek::IWORKPropertyContextBase libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > libetonyek::IWORKXMLContextElement libetonyek::IWORKXMLContextMinimal libetonyek::IWORKXMLContext

Public Member Functions

 IWORKPtrPropertyContext (IWORKXMLParserState &state, IWORKPropertyMap &propMap)
 
- Public Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
 IWORKXMLContextBase (IWORKXMLParserState &state)
 
 IWORKXMLContextBase (IWORKXMLParserState &state, const T &a)
 
IWORKXMLParserStategetState ()
 
 IWORKXMLContextBase (IWORKXMLParserState &state)
 
 IWORKXMLContextBase (IWORKXMLParserState &state, const T &a)
 
IWORKXMLParserStategetState ()
 
- Public Member Functions inherited from libetonyek::IWORKXMLContext
virtual ~IWORKXMLContext ()=0
 
virtual void CDATA (const char *value)
 Process CDATA content of an element.
 

Private Member Functions

IWORKXMLContextPtr_t element (int name) override
 Create a context for parsing a child element.
 
void endOfElement () override
 Signalize the end of an element.
 

Private Attributes

IWORKPropertyInfo< Property >::ValueType m_value
 

Additional Inherited Members

- Protected Member Functions inherited from libetonyek::IWORKPropertyContextBase
 IWORKPropertyContextBase (IWORKXMLParserState &state, IWORKPropertyMap &propMap)
 
- Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKCollectorgetCollector () const
 
int getToken (const char *const value) const
 
bool isCollector () const
 
IWORKCollectorgetCollector () const
 
int getToken (const char *const value) const
 
bool isCollector () const
 
- Protected Member Functions inherited from libetonyek::IWORKXMLContextElement
 IWORKXMLContextElement (IWORKXMLParserState &)
 
void attribute (int name, const char *value) override
 Process an attribute.
 
void text (const char *value) override
 Process textual content of an element.
 
const boost::optional< ID_t > & getId () const
 
void setId (const char *value)
 
- Protected Member Functions inherited from libetonyek::IWORKXMLContextMinimal
 IWORKXMLContextMinimal ()
 
void startOfElement () override
 Signalize the start of an element.
 
void endOfElement () override
 Signalize the end of an element.
 
- Protected Attributes inherited from libetonyek::IWORKPropertyContextBase
IWORKPropertyMapm_propMap
 
bool m_default
 
- Protected Attributes inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKXMLParserStatem_state
 
IWORKXMLParserStatem_state
 

Constructor & Destructor Documentation

◆ IWORKPtrPropertyContext()

template<typename Property, typename Context, int TokenId>
libetonyek::IWORKPtrPropertyContext< Property, Context, TokenId >::IWORKPtrPropertyContext ( IWORKXMLParserState & state,
IWORKPropertyMap & propMap )

Member Function Documentation

◆ element()

template<typename Property, typename Context, int TokenId>
IWORKXMLContextPtr_t libetonyek::IWORKPtrPropertyContext< Property, Context, TokenId >::element ( int name)
overrideprivatevirtual

Create a context for parsing a child element.

Returns
A new context or an empty pointer if the child element cannot be handled.

Implements libetonyek::IWORKXMLContext.

◆ endOfElement()

template<typename Property, typename Context, int TokenId>
void libetonyek::IWORKPtrPropertyContext< Property, Context, TokenId >::endOfElement ( )
overrideprivatevirtual

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

Member Data Documentation

◆ m_value

template<typename Property, typename Context, int TokenId>
IWORKPropertyInfo<Property>::ValueType libetonyek::IWORKPtrPropertyContext< Property, Context, TokenId >::m_value
private

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

Generated for libetonyek by doxygen 1.13.2