35 #ifndef _Wolframe_SERIALIZE_STRUCT_SERIALIZE_STACK_HPP_INCLUDED
36 #define _Wolframe_SERIALIZE_STRUCT_SERIALIZE_STACK_HPP_INCLUDED
51 typedef bool (*
Fetch)(
Context& ctx, std::vector<SerializeState>& stk);
Fetch m_fetch
Definition: serializeStack.hpp:72
void state(std::size_t idx)
Set the internal state of the serialization handled by this state.
Definition: serializeStack.hpp:69
std::size_t state() const
Get the internal state of the serialization handled by this state.
Definition: serializeStack.hpp:67
const void * value() const
Get the base pointer to the value of the object handled by this state.
Definition: serializeStack.hpp:61
SerializeState(const SerializeState &o)
Copy constructor.
Fetch fetch() const
Get the fetch function of the object handled by this state.
Definition: serializeStack.hpp:65
const char * m_name
Definition: serializeStack.hpp:74
const char * name() const
Get the name of the object handled by this state.
Definition: serializeStack.hpp:63
State stack element for an iterator on a structure (serializer)
Definition: serializeStack.hpp:48
Defines the data structure holding the global serialization state variables (without the stack) ...
std::vector< SerializeState > SerializeStateStack
State stack for an iterator on a structure (serializer)
Definition: serializeStack.hpp:79
std::size_t m_stateidx
Definition: serializeStack.hpp:75
Typed interface for input/output filter.
Global state variables of a running serialization/deserialization procedure (without the stack) ...
Definition: mapContext.hpp:46
const void * m_value
Definition: serializeStack.hpp:73
bool(* Fetch)(Context &ctx, std::vector< SerializeState > &stk)
Definition: serializeStack.hpp:51