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

#include <IWORKValueContext.h>

Inheritance diagram for libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >:
libetonyek::IWORKXMLContextBase< Base, State, Collector >

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 Member Functions

 IWORKValueContext (const IWORKValueContext &)
 
IWORKValueContextoperator= (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< Base, State, Collector >
State & m_state
 

Constructor & Destructor Documentation

template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::IWORKValueContext ( IWORKXMLParserState state,
boost::optional< Type > &  value 
)
inline
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::IWORKValueContext ( IWORKXMLParserState state,
Type &  value,
bool *  isSet = nullptr 
)
inline
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::IWORKValueContext ( const IWORKValueContext< Type, NestedParser, Id, Id2 > &  )
private

Member Function Documentation

template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
IWORKXMLContextPtr_t libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::element ( const int  name)
inlineoverrideprotected
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
void libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::endOfElement ( )
inlineoverrideprotected
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
IWORKValueContext& libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::operator= ( const IWORKValueContext< Type, NestedParser, Id, Id2 > &  )
private
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
void libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::set ( const Type &  value)
inlineprotected

Member Data Documentation

template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
Type* const libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::m_direct
private
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
bool* const libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::m_isSet
private
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
boost::optional<Type>& libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::m_optional
private
template<typename Type , class NestedParser , unsigned Id, unsigned Id2 = 0>
boost::optional<Type> libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 >::m_value
private

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

Generated for libetonyek by doxygen 1.8.6