libetonyek::IWORKExternalTextWrapElement Class Reference

#include <IWORKWrapElement.h>

Inheritance diagram for libetonyek::IWORKExternalTextWrapElement:
libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > libetonyek::IWORKXMLContextElement libetonyek::IWORKXMLContextMinimal libetonyek::IWORKXMLContext

Public Member Functions

 IWORKExternalTextWrapElement (IWORKXMLParserState &state, boost::optional< IWORKExternalTextWrap > &wrap)
 
- 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 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.
 

Private Member Functions

 IWORKExternalTextWrapElement (const IWORKExternalTextWrapElement &)
 
IWORKExternalTextWrapElementoperator= (const IWORKExternalTextWrapElement &)
 

Private Attributes

boost::optional< IWORKExternalTextWrap > & m_wrap
 

Additional Inherited Members

- Protected Attributes inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKXMLParserStatem_state
 
IWORKXMLParserStatem_state
 

Constructor & Destructor Documentation

◆ IWORKExternalTextWrapElement() [1/2]

libetonyek::IWORKExternalTextWrapElement::IWORKExternalTextWrapElement ( IWORKXMLParserState & state,
boost::optional< IWORKExternalTextWrap > & wrap )

◆ IWORKExternalTextWrapElement() [2/2]

libetonyek::IWORKExternalTextWrapElement::IWORKExternalTextWrapElement ( const IWORKExternalTextWrapElement & )
private

Member Function Documentation

◆ attribute()

void libetonyek::IWORKExternalTextWrapElement::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.

◆ element()

IWORKXMLContextPtr_t libetonyek::IWORKExternalTextWrapElement::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.

◆ endOfElement()

void libetonyek::IWORKExternalTextWrapElement::endOfElement ( )
overrideprotectedvirtual

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

◆ operator=()

IWORKExternalTextWrapElement & libetonyek::IWORKExternalTextWrapElement::operator= ( const IWORKExternalTextWrapElement & )
private

Member Data Documentation

◆ m_wrap

boost::optional<IWORKExternalTextWrap>& libetonyek::IWORKExternalTextWrapElement::m_wrap
private

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

Generated for libetonyek by doxygen 1.13.2