#include <IWORKColorElement.h>
Public Member Functions | |
IWORKColorElement (IWORKXMLParserState &state, boost::optional< IWORKColor > &color) | |
![]() | |
IWORKXMLContextBase (IWORKXMLParserState &state) | |
IWORKXMLContextBase (IWORKXMLParserState &state, const T &a) | |
IWORKXMLParserState & | getState () |
IWORKXMLContextBase (IWORKXMLParserState &state) | |
IWORKXMLContextBase (IWORKXMLParserState &state, const T &a) | |
IWORKXMLParserState & | getState () |
![]() | |
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. | |
![]() | |
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 |
![]() | |
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 |
![]() | |
IWORKXMLContextMinimal () | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
Private Attributes | |
boost::optional< IWORKColor > & | m_color |
std::string | m_type |
double | m_r |
double | m_g |
double | m_b |
double | m_w |
double | m_c |
double | m_m |
double | m_y |
double | m_k |
double | m_a |
Additional Inherited Members | |
![]() | |
IWORKXMLParserState & | m_state |
IWORKXMLParserState & | m_state |
libetonyek::IWORKColorElement::IWORKColorElement | ( | IWORKXMLParserState & | state, |
boost::optional< IWORKColor > & | color ) |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKColorElement().