libetonyek::IWORKValueContext< Type, NestedParser, Id > Class Template Reference documentation

Public Member Functions | Protected Member Functions | Private Attributes | List of all members
libetonyek::IWORKValueContext< Type, NestedParser, Id > Class Template Reference

`#include <IWORKValueContext.h>`

Inheritance diagram for libetonyek::IWORKValueContext< Type, NestedParser, Id >:

## 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< Base, State, Collector >
| IWORKXMLContextBase (State &state)
template<typename T >
| IWORKXMLContextBase (State &state, const T &a)
State & | getState ()

## Protected Member Functions
void | set (const Type &value)
IWORKXMLContextPtr_t | element (const int name) override
void | endOfElement () override
Protected Member Functions inherited from libetonyek::IWORKXMLContextBase< Base, State, Collector >
Collector & | getCollector () const
int | getToken (const char *const value) const
bool | isCollector () const

## 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< Base, State, Collector >
State & | m_state

## Constructor & Destructor Documentation

## ◆ IWORKValueContext() [1/2]

template<typename Type , class NestedParser , unsigned Id>

libetonyek::IWORKValueContext< Type, NestedParser, Id >::IWORKValueContext | ( | IWORKXMLParserState & | state,
|  | boost::optional< Type > & | value
| ) |  |
| inline

## ◆ IWORKValueContext() [2/2]

template<typename Type , class NestedParser , unsigned Id>

libetonyek::IWORKValueContext< Type, NestedParser, Id >::IWORKValueContext | ( | IWORKXMLParserState & | state,
|  | Type & | value,
|  | bool * | isSet = `nullptr`
| ) |  |
| inline

## Member Function Documentation

## ◆ element()

template<typename Type , class NestedParser , unsigned Id>

IWORKXMLContextPtr_t libetonyek::IWORKValueContext< Type, NestedParser, Id >::element | ( | const int | name | ) |
| inlineoverrideprotected

## ◆ endOfElement()

template<typename Type , class NestedParser , unsigned Id>

void libetonyek::IWORKValueContext< Type, NestedParser, Id >::endOfElement | ( |  | ) |
| inlineoverrideprotected

## ◆ set()

template<typename Type , class NestedParser , unsigned Id>

void libetonyek::IWORKValueContext< Type, NestedParser, Id >::set | ( | const Type & | value | ) |
| inlineprotected

## Member Data Documentation

## ◆ m_direct

template<typename Type , class NestedParser , unsigned Id>

Type* const libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_direct
| private

Referenced by libetonyek::IWORKValueContext< Type, NestedParser, Id >::endOfElement().

## ◆ m_isSet

template<typename Type , class NestedParser , unsigned Id>

bool* const libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_isSet
| private

Referenced by libetonyek::IWORKValueContext< Type, NestedParser, Id >::endOfElement().

## ◆ m_optional

template<typename Type , class NestedParser , unsigned Id>

boost::optional<Type>& libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_optional
| private

Referenced by libetonyek::IWORKValueContext< Type, NestedParser, Id >::endOfElement().

## ◆ m_value

template<typename Type , class NestedParser , unsigned Id>

boost::optional<Type> libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_value
| private

Referenced by libetonyek::IWORKValueContext< Type, NestedParser, Id >::element(), libetonyek::IWORKValueContext< Type, NestedParser, Id >::endOfElement(), and libetonyek::IWORKValueContext< Type, NestedParser, Id >::set().

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

- IWORKValueContext.h