#include <IWORKValueContext.h>
Public Member Functions | |
| IWORKValueContext (IWORKXMLParserState &state, boost::optional< Type > &value) | |
| IWORKValueContext (IWORKXMLParserState &state, Type &value, bool *isSet=nullptr) | |
Public Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > | |
| IWORKXMLContextBase (IWORKXMLParserState &state) | |
| IWORKXMLContextBase (IWORKXMLParserState &state, const T &a) | |
| IWORKXMLParserState & | getState () |
| IWORKXMLContextBase (IWORKXMLParserState &state) | |
| IWORKXMLContextBase (IWORKXMLParserState &state, const T &a) | |
| IWORKXMLParserState & | getState () |
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 | 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. | |
Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > | |
| 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 |
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 | |
| 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 | |
Protected Attributes inherited from libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > | |
| 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 |