35 #ifndef _Wolframe_SERIALIZE_DDL_SERIALIZE_STACK_HPP_INCLUDED
36 #define _Wolframe_SERIALIZE_DDL_SERIALIZE_STACK_HPP_INCLUDED
const types::VariantConst & tag() const
Get the name of the element visited in the current state.
Definition: ddlSerializeStack.hpp:112
State stack element for an iterator on a DDL structure (serializer of VariantStruct) ...
Definition: ddlSerializeStack.hpp:49
DDLSerializeState(langbind::FilterBase::ElementType typ, const types::VariantConst &elem)
Constructor.
Definition: ddlSerializeStack.hpp:78
Structure of variant type atoms or substructures.
Definition: variantStruct.hpp:57
std::size_t m_stateidx
Definition: ddlSerializeStack.hpp:119
const types::VariantStruct * value() const
Get the value reference of the current state.
Definition: ddlSerializeStack.hpp:88
langbind::FilterBase::ElementType type() const
Set the element type visited in the current state.
Definition: ddlSerializeStack.hpp:106
DDLSerializeState(const types::VariantStruct *v, const types::VariantConst &t)
Constructor.
Definition: ddlSerializeStack.hpp:61
Variant value type that represents a variant copy without content ownership.
Definition: variant.hpp:286
types::VariantConst m_tag
Definition: ddlSerializeStack.hpp:121
ElementType
Content element type that describes the role of the element in the structured input.
Definition: filterbase.hpp:66
void state(std::size_t idx)
Set the current internal state.
Definition: ddlSerializeStack.hpp:100
std::size_t state() const
Get the current internal state.
Definition: ddlSerializeStack.hpp:94
const types::VariantStruct * m_value
Definition: ddlSerializeStack.hpp:118
langbind::FilterBase::ElementType m_elemtype
Definition: ddlSerializeStack.hpp:120
DDLSerializeState(const types::VariantStruct *v)
Constructor.
Definition: ddlSerializeStack.hpp:71
std::vector< DDLSerializeState > DDLSerializeStateStack
State stack for an iterator on a DDL structure (serializer of VariantStruct)
Definition: ddlSerializeStack.hpp:125
Structures of variant types.
Typed interface for input/output filter.
void setInitialized(bool v=true)
Set the value to be initialized.
Definition: variant.hpp:224
DDLSerializeState(const DDLSerializeState &o)
Copy constructor.
Definition: ddlSerializeStack.hpp:53