Template Function coal::serialization::saveToXML

Function Documentation

template<typename T>
inline void coal::serialization::saveToXML(const T &object, const std::string &filename, const std::string &tag_name)

Saves an object inside a XML file.

Template Parameters:

T – Type of the object to deserialize.

Parameters:
  • object[in] Object in which the loaded data are copied.

  • filename[in] Name of the file containing the serialized data.

  • tag_name[in] XML Tag for the given object.