Serialization policy for data containers that can be serialized as XML. More...
#include <data.h>

Public Member Functions | |
| void | save (xml::element &Element, const ipersistent::save_context &Context) |
| Called once during document save. | |
| void | load (xml::element &Element, const ipersistent::load_context &Context) |
| Called once during document loading. | |
Protected Member Functions | |
| template<typename init_t > | |
| node_collection_serialization (const init_t &Init) | |
Serialization policy for data containers that can be serialized as XML.
| k3d::data::node_collection_serialization< value_t, property_policy_t >::node_collection_serialization | ( | const init_t & | Init | ) | [inline, protected] |
| void k3d::data::node_collection_serialization< value_t, property_policy_t >::load | ( | xml::element & | Element, | |
| const ipersistent::load_context & | Context | |||
| ) | [inline, virtual] |
Called once during document loading.
Implements k3d::ipersistent.
References k3d::from_string(), k3d::ipersistent::load_context::lookup, k3d::ipersistent_lookup::lookup_object(), k3d::filesystem::remove(), k3d::python::set_value(), and k3d::xml::element::text.
| void k3d::data::node_collection_serialization< value_t, property_policy_t >::save | ( | xml::element & | Element, | |
| const ipersistent::save_context & | Context | |||
| ) | [inline, virtual] |
Called once during document save.
Implements k3d::ipersistent.
References k3d::xml::element::append(), k3d::property::internal_value(), k3d::ipersistent::save_context::lookup, k3d::ipersistent_lookup::lookup_id(), generate::name, and k3d::string_cast().
1.6.3