#include <IWORKValueContext.h>
Public Member Functions | |
IWORKValueContext (IWORKXMLParserState &state, boost::optional< Type > &value) | |
IWORKValueContext (IWORKXMLParserState &state, Type &value, bool *isSet=nullptr) | |
![]() | |
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 | set (const Type &value) |
IWORKXMLContextPtr_t | element (const 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 |
![]() | |
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) |
![]() | |
IWORKXMLContextMinimal () | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
Private Member Functions | |
IWORKValueContext (const IWORKValueContext &) | |
IWORKValueContext & | operator= (const IWORKValueContext &) |
Private Attributes | |
boost::optional< Type > | m_value |
boost::optional< Type > & | m_optional |
Type *const | m_direct |
bool *const | m_isSet |
Additional Inherited Members | |
![]() | |
IWORKXMLParserState & | m_state |
IWORKXMLParserState & | m_state |
|
inline |
|
inline |
|
private |
|
inlineoverrideprotectedvirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
|
inlineoverrideprotectedvirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
private |
|
inlineprotected |
|
private |
|
private |
|
private |
|
private |