k3d::data::array_serialization< value_t, property_policy_t > Class Template Reference

Serialization policy for data containers that can be serialized as XML. More...

Inheritance diagram for k3d::data::array_serialization< value_t, property_policy_t >:
Inheritance graph
[legend]

List of all members.

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 >
 array_serialization (const init_t &Init)

Private Member Functions

 BOOST_STATIC_ASSERT ((boost::is_base_and_derived< array, typename boost::remove_pointer< value_t >::type >::value))

Detailed Description

template<typename value_t, class property_policy_t>
class k3d::data::array_serialization< value_t, property_policy_t >

Serialization policy for data containers that can be serialized as XML.


Constructor & Destructor Documentation

template<typename value_t , class property_policy_t >
template<typename init_t >
k3d::data::array_serialization< value_t, property_policy_t >::array_serialization ( const init_t &  Init  )  [inline, protected]

Member Function Documentation

template<typename value_t , class property_policy_t >
k3d::data::array_serialization< value_t, property_policy_t >::BOOST_STATIC_ASSERT ( (boost::is_base_and_derived< array, typename boost::remove_pointer< value_t >::type >::value)   )  [private]
template<typename value_t , class property_policy_t >
void k3d::data::array_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::python::set_value(), k3d::xml::element::text, and generate::value.

template<typename value_t , class property_policy_t >
void k3d::data::array_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(), and generate::name.


The documentation for this class was generated from the following file:

Generated on Mon Mar 21 07:42:20 2011 for K-3D by doxygen 1.6.3