libetonyek::IWORKListLabelGeometryElement Class Reference

#include <IWORKListLabelGeometryElement.h>

Inheritance diagram for libetonyek::IWORKListLabelGeometryElement:
libetonyek::IWORKXMLContextBase< IWORKXMLContextEmpty, IWORKXMLParserState > libetonyek::IWORKXMLContextEmpty libetonyek::IWORKXMLContextMinimal libetonyek::IWORKXMLContext

Public Member Functions

 IWORKListLabelGeometryElement (IWORKXMLParserState &state, boost::optional< IWORKListLabelGeometry > &value)
 
- Public Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextEmpty, 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

void attribute (int name, const char *value) override
 Process an attribute.
 
void endOfElement () override
 Signalize the end of an element.
 

Private Attributes

boost::optional< IWORKListLabelGeometry > & m_value
 
boost::optional< double > m_scale
 
boost::optional< double > m_offset
 
boost::optional< bool > m_scaleWithText
 

Additional Inherited Members

- Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextEmpty, 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::IWORKXMLContextEmpty
 IWORKXMLContextEmpty (IWORKXMLParserState &)
 
void attribute (int name, const char *value) override
 Process an attribute.
 
IWORKXMLContextPtr_t element (int token) override
 Create a context for parsing a child element.
 
void text (const char *value) override
 Process textual content of an element.
 
const boost::optional< ID_t > & getId () const
 
void setId (const char *value)
 
const boost::optional< ID_t > & getRef () const
 
- 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< IWORKXMLContextEmpty, IWORKXMLParserState >
IWORKXMLParserStatem_state
 
IWORKXMLParserStatem_state
 

Constructor & Destructor Documentation

◆ IWORKListLabelGeometryElement()

libetonyek::IWORKListLabelGeometryElement::IWORKListLabelGeometryElement ( IWORKXMLParserState & state,
boost::optional< IWORKListLabelGeometry > & value )

Member Function Documentation

◆ attribute()

void libetonyek::IWORKListLabelGeometryElement::attribute ( int name,
const char * value )
overrideprivatevirtual

Process an attribute.

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

Implements libetonyek::IWORKXMLContext.

◆ endOfElement()

void libetonyek::IWORKListLabelGeometryElement::endOfElement ( )
overrideprivatevirtual

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

Member Data Documentation

◆ m_offset

boost::optional<double> libetonyek::IWORKListLabelGeometryElement::m_offset
private

◆ m_scale

boost::optional<double> libetonyek::IWORKListLabelGeometryElement::m_scale
private

◆ m_scaleWithText

boost::optional<bool> libetonyek::IWORKListLabelGeometryElement::m_scaleWithText
private

◆ m_value

boost::optional<IWORKListLabelGeometry>& libetonyek::IWORKListLabelGeometryElement::m_value
private

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

Generated for libetonyek by doxygen 1.13.2