Functions

OpenTissue::skeleton::detail Namespace Reference

Functions

template<typename skeleton_type >
bool xml_read (TiXmlHandle &document_handle, skeleton_type &skeleton)
template<typename skeleton_type >
bool xml_write (TiXmlDocument &doc, skeleton_type const &skeleton)

Function Documentation

template<typename skeleton_type >
bool OpenTissue::skeleton::detail::xml_read ( TiXmlHandle document_handle,
skeleton_type skeleton 
)

Read Skeleton.

Parameters:
document_handle A xml handle for the xml document that is being read.
skeleton Upon return this argument holds the skeleton that was read.
Returns:
If skeleton was read succesfully then the return value is true otherwise it is false.
template<typename skeleton_type >
bool OpenTissue::skeleton::detail::xml_write ( TiXmlDocument doc,
skeleton_type const &  skeleton 
)

Write Skeleton.

Parameters:
doc The XML document that should be written.
skeleton This argument holds the skeleton that should be written to the XML file.
Returns:
If skeleton was written succesfully then the return value is true otherwise it is false.