34 #ifndef _Wolframe_SERIALIZE_STRUCT_SERIALIZER_HPP_INCLUDED
35 #define _Wolframe_SERIALIZE_STRUCT_SERIALIZER_HPP_INCLUDED
80 virtual bool setFlags( FilterBase::Flags f);
const ObjectReference m_obj
Definition: structSerializer.hpp:84
const void * m_ptr
Definition: structSerializer.hpp:83
Flags flags() const
Get all flags.
Definition: filterbase.hpp:120
Base class for structure description used for introspection in serialization/deserialization.
Definition: structDescriptionBase.hpp:51
virtual bool setFlags(FilterBase::Flags f)
Set the flags stearing the serialization, implements FilterBase::setFlags(FilterBase::Flags) ...
static std::string getElementPath(const SerializeStateStack &stk)
Get the current element path defined by the stack 'stk' as string for error messages.
const StructDescriptionBase * m_descr
Definition: structSerializer.hpp:85
StructSerializer(const ObjectReference &obj, const StructDescriptionBase *descr)
Constructor.
virtual ~StructSerializer()
Destructor.
Definition: structSerializer.hpp:56
Variant value type that represents a variant copy without content ownership.
Definition: variant.hpp:286
void init(const langbind::TypedOutputFilterR &out, serialize::Flags::Enum flags=serialize::Flags::None)
Serialize start initialization.
SerializeStateStack m_stk
Definition: structSerializer.hpp:88
ElementType
Content element type that describes the role of the element in the structured input.
Definition: filterbase.hpp:66
virtual langbind::TypedInputFilter * copy() const
Get a self copy.
bool call()
Call of one processing step the serializer.
boost::shared_ptr< TypedOutputFilter > TypedOutputFilterR
Shared output filter (langbind::TypedOutputFilter) reference.
Definition: typedfilter.hpp:149
Enum
the enumeration that can also be interpreted as bit set
Definition: flags.hpp:47
std::vector< SerializeState > SerializeStateStack
State stack for an iterator on a structure (serializer)
Definition: serializeStack.hpp:79
Context m_ctx
Definition: structSerializer.hpp:86
Iterator on elements of structures based on a structure description.
Definition: structSerializer.hpp:43
langbind::TypedOutputFilterR m_out
Definition: structSerializer.hpp:87
virtual bool getNext(langbind::FilterBase::ElementType &type, types::VariantConst &value)
Get the next element of the serialization, implements langbind::TypedInputFilter::getNext(langbind::F...
Defines the non intrusive base class of serialization/deserialization of objects interfaced as TypedI...
Empty flag set (no flags set)
Definition: flags.hpp:49
Global state variables of a running serialization/deserialization procedure (without the stack) ...
Definition: mapContext.hpp:46
boost::shared_ptr< void > ObjectReference
Definition: structSerializer.hpp:46