Ase::WritNode class

One 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::vector<WritNode> for serialized arrays during in_load().
auto value() →  Value&
Access the Value of this node.
auto writ() →  Writ&
Access the Writ of this node.