libetonyek::IWORKBinaryElement Class Reference

#include <IWORKBinaryElement.h>

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

Public Member Functions

 IWORKBinaryElement (IWORKXMLParserState &state, IWORKMediaContentPtr_t &value)
Public Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
 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

IWORKMediaContentPtr_tm_value
boost::optional< IWORKSizem_size
IWORKDataPtr_t m_data
boost::optional< IWORKColorm_fillColor

Additional Inherited Members

Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
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::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState >
IWORKXMLParserStatem_state

Constructor & Destructor Documentation

◆ IWORKBinaryElement()

libetonyek::IWORKBinaryElement::IWORKBinaryElement ( IWORKXMLParserState & state,
IWORKMediaContentPtr_t & value )

Member Function Documentation

◆ element()

IWORKXMLContextPtr_t libetonyek::IWORKBinaryElement::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()

void libetonyek::IWORKBinaryElement::endOfElement ( )
overrideprivatevirtual

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

Member Data Documentation

◆ m_data

IWORKDataPtr_t libetonyek::IWORKBinaryElement::m_data
private

◆ m_fillColor

boost::optional<IWORKColor> libetonyek::IWORKBinaryElement::m_fillColor
private

◆ m_size

boost::optional<IWORKSize> libetonyek::IWORKBinaryElement::m_size
private

◆ m_value

IWORKMediaContentPtr_t& libetonyek::IWORKBinaryElement::m_value
private

Referenced by endOfElement(), and IWORKBinaryElement().


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

Generated for libetonyek by doxygen 1.14.0