libetonyek::IWORKShapeContext Class Reference

#include <IWORKShapeContext.h>

Inheritance diagram for libetonyek::IWORKShapeContext:
libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > libetonyek::IWORKXMLContextElement libetonyek::IWORKXMLContextMinimal libetonyek::IWORKXMLContext libetonyek::IWORKXMLContextBase< IWORKShapeContext, PAG1ParserState, PAGCollector > libetonyek::PAG1XMLContextBase< IWORKShapeContext > libetonyek::PAG1ShapeContext

Public Member Functions

 IWORKShapeContext (IWORKXMLParserState &state)
 
- 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.
 

Protected Member Functions

void startOfElement () override
 Signalize the start of an element.
 
void attribute (int name, const char *value) override
 Process an attribute.
 
IWORKXMLContextPtr_t element (int name) override
 Create a context for parsing a child element.
 
void endOfElement () override
 Signalize the end of an element.
 
- 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

IWORKStylePtr_t m_style
 
boost::optional< IWORKWrapm_wrap
 
boost::optional< int > m_order
 
bool m_locked
 
- Protected Attributes inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKXMLParserStatem_state
 
IWORKXMLParserStatem_state
 

Constructor & Destructor Documentation

◆ IWORKShapeContext()

libetonyek::IWORKShapeContext::IWORKShapeContext ( IWORKXMLParserState & state)
explicit

Member Function Documentation

◆ attribute()

void libetonyek::IWORKShapeContext::attribute ( int name,
const char * value )
overrideprotectedvirtual

Process an attribute.

Attributes are fed to the current element's context one by one.

Implements libetonyek::IWORKXMLContext.

Reimplemented in libetonyek::PAG1ShapeContext.

◆ element()

IWORKXMLContextPtr_t libetonyek::IWORKShapeContext::element ( int name)
overrideprotectedvirtual

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.

Reimplemented in libetonyek::PAG1ShapeContext.

◆ endOfElement()

void libetonyek::IWORKShapeContext::endOfElement ( )
overrideprotectedvirtual

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

◆ startOfElement()

void libetonyek::IWORKShapeContext::startOfElement ( )
overrideprotectedvirtual

Signalize the start of an element.

This can be used if initialization of the context needs virtual function calls.

Implements libetonyek::IWORKXMLContext.

Member Data Documentation

◆ m_locked

bool libetonyek::IWORKShapeContext::m_locked
protected

◆ m_order

boost::optional<int> libetonyek::IWORKShapeContext::m_order
protected

◆ m_style

IWORKStylePtr_t libetonyek::IWORKShapeContext::m_style
protected

◆ m_wrap

boost::optional<IWORKWrap> libetonyek::IWORKShapeContext::m_wrap
protected

Referenced by element(), and IWORKShapeContext().


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

Generated for libetonyek by doxygen 1.13.2