libetonyek::IWORKStrokeContext Class Reference documentation

Public Member Functions | Private Attributes | List of all members
libetonyek::IWORKStrokeContext Class Reference

`#include <IWORKStrokeContext.h>`

Inheritance diagram for libetonyek::IWORKStrokeContext:

## Public Member Functions
| IWORKStrokeContext (IWORKXMLParserState &state, boost::optional< IWORKStroke > &value)
IWORKXMLContextPtr_t | element (int name) override
| Create a context for parsing a child element.
void | endOfElement () override
| Signalize the end of an element.
Public Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
| IWORKXMLContextBase (IWORKXMLParserState &state)
| IWORKXMLContextBase (IWORKXMLParserState &state, const T &a)
IWORKXMLParserState & | getState ()
| IWORKXMLContextBase (IWORKXMLParserState &state)
| IWORKXMLContextBase (IWORKXMLParserState &state, const T &a)
IWORKXMLParserState & | getState ()
Public Member Functions inherited from libetonyek::IWORKXMLContext
virtual | ~IWORKXMLContext ()=0
virtual void | CDATA (const char *value)
| Process CDATA content of an element.

## Private Attributes
boost::optional< IWORKStroke > & | m_value
boost::optional< ID_t > | m_ref

## Additional Inherited Members
Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKCollector & | getCollector () const
int | getToken (const char *const value) const
bool | isCollector () const
IWORKCollector & | getCollector () 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::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKXMLParserState & | m_state
IWORKXMLParserState & | m_state

## Constructor & Destructor Documentation

## ◆ IWORKStrokeContext()

libetonyek::IWORKStrokeContext::IWORKStrokeContext | ( | IWORKXMLParserState & | state,
|  | boost::optional< IWORKStroke > & | value )

Referenced by IWORKStrokeContext().

## Member Function Documentation

## ◆ element()

IWORKXMLContextPtr_t libetonyek::IWORKStrokeContext::element | ( | int | name | ) |
| overridevirtual

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()

void libetonyek::IWORKStrokeContext::endOfElement | ( |  | ) |
| overridevirtual

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

## Member Data Documentation

## ◆ m_ref

boost::optional<ID_t> libetonyek::IWORKStrokeContext::m_ref
| private

Referenced by element(), endOfElement(), and IWORKStrokeContext().

## ◆ m_value

boost::optional<IWORKStroke>& libetonyek::IWORKStrokeContext::m_value
| private

Referenced by element(), endOfElement(), and IWORKStrokeContext().

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

- IWORKStrokeContext.h
- IWORKStrokeContext.cpp