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

#include <IWORKValueContext.h>

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

List of all members.

Public Member Functions

 IWORKValueContext (IWORKXMLParserState &state, boost::optional< Type > &value)
 IWORKValueContext (IWORKXMLParserState &state, Type &value, bool *isSet=0)

Protected Member Functions

void set (const Type &value)
virtual IWORKXMLContextPtr_t element (const int name)
virtual void endOfElement ()

Private Attributes

boost::optional< Type > m_value
boost::optional< Type > & m_optional
Type *const m_direct
bool *const m_isSet

template<typename Type, class NestedParser, unsigned Id>
class libetonyek::IWORKValueContext< Type, NestedParser, Id >


Constructor & Destructor Documentation

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

Member Function Documentation

template<typename Type , class NestedParser , unsigned Id>
virtual IWORKXMLContextPtr_t libetonyek::IWORKValueContext< Type, NestedParser, Id >::element ( const int  name) [inline, protected, virtual]
template<typename Type , class NestedParser , unsigned Id>
virtual void libetonyek::IWORKValueContext< Type, NestedParser, Id >::endOfElement ( ) [inline, protected, virtual]
template<typename Type , class NestedParser , unsigned Id>
void libetonyek::IWORKValueContext< Type, NestedParser, Id >::set ( const Type &  value) [inline, protected]

Member Data Documentation

template<typename Type , class NestedParser , unsigned Id>
Type* const libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_direct [private]
template<typename Type , class NestedParser , unsigned Id>
bool* const libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_isSet [private]
template<typename Type , class NestedParser , unsigned Id>
boost::optional<Type>& libetonyek::IWORKValueContext< Type, NestedParser, Id >::m_optional [private]

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