Wolframe, 0.0.3

_Wolframe::serialize::DDLSerializeState Class Reference

State stack element for an iterator on a DDL structure (serializer of VariantStruct) More...

#include <ddlSerializeStack.hpp>

Public Member Functions

 DDLSerializeState (const DDLSerializeState &o)
 Copy constructor. More...
 
 DDLSerializeState (const types::VariantStruct *v, const types::VariantConst &t)
 Constructor. More...
 
 DDLSerializeState (const types::VariantStruct *v)
 Constructor. More...
 
 DDLSerializeState (langbind::FilterBase::ElementType typ, const types::VariantConst &elem)
 Constructor. More...
 
const types::VariantStructvalue () const
 Get the value reference of the current state. More...
 
std::size_t state () const
 Get the current internal state. More...
 
void state (std::size_t idx)
 Set the current internal state. More...
 
langbind::FilterBase::ElementType type () const
 Set the element type visited in the current state. More...
 
const types::VariantConsttag () const
 Get the name of the element visited in the current state. More...
 

Private Attributes

const types::VariantStructm_value
 
std::size_t m_stateidx
 
langbind::FilterBase::ElementType m_elemtype
 
types::VariantConst m_tag
 

Detailed Description

State stack element for an iterator on a DDL structure (serializer of VariantStruct)

Constructor & Destructor Documentation

_Wolframe::serialize::DDLSerializeState::DDLSerializeState ( const DDLSerializeState o)
inline

Copy constructor.

_Wolframe::serialize::DDLSerializeState::DDLSerializeState ( const types::VariantStruct v,
const types::VariantConst t 
)
inline

Constructor.

_Wolframe::serialize::DDLSerializeState::DDLSerializeState ( const types::VariantStruct v)
inline

Constructor.

_Wolframe::serialize::DDLSerializeState::DDLSerializeState ( langbind::FilterBase::ElementType  typ,
const types::VariantConst elem 
)
inline

Constructor.

Member Function Documentation

std::size_t _Wolframe::serialize::DDLSerializeState::state ( ) const
inline

Get the current internal state.

void _Wolframe::serialize::DDLSerializeState::state ( std::size_t  idx)
inline

Set the current internal state.

const types::VariantConst& _Wolframe::serialize::DDLSerializeState::tag ( ) const
inline

Get the name of the element visited in the current state.

langbind::FilterBase::ElementType _Wolframe::serialize::DDLSerializeState::type ( ) const
inline

Set the element type visited in the current state.

const types::VariantStruct* _Wolframe::serialize::DDLSerializeState::value ( ) const
inline

Get the value reference of the current state.

Member Data Documentation

langbind::FilterBase::ElementType _Wolframe::serialize::DDLSerializeState::m_elemtype
private
std::size_t _Wolframe::serialize::DDLSerializeState::m_stateidx
private
types::VariantConst _Wolframe::serialize::DDLSerializeState::m_tag
private
const types::VariantStruct* _Wolframe::serialize::DDLSerializeState::m_value
private

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