class
WritNodeOne entry in a Writ serialization document.
Public functions
- auto in_load() const → bool
- Return
true
during deserialization. - auto in_save() const → bool
- Return
true
during serialization. - auto loadable(const String& key) const → bool
- True if
in_
.load() && has (key) -
template <typename T>auto operator&(T& v) → bool
- Serialization operator.
- auto operator&(const WritLink& l) → bool
- Write an object link during saving, queue a deferred pointer during loading.
- void purge_value()
- Clean up defaults in Value.
- auto push() → WritNode
- Append new WritNode for serializing arrays during
in_
.save() - auto skip_emptystring() const → bool
- Omit empty strings during in_
save() - auto skip_zero() const → bool
- Omit zero integers or floats during in_
save() - auto to_nodes() → WritNodeS
- Create
std::
for serialized arrays duringvector<WritNode> in_
.load() - auto value() → Value&
- Access the Value of this node.
- auto writ() → Writ&
- Access the Writ of this node.