Template Function coal::serialization::loadFromXML

Function Documentation

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

Loads an object from a XML file.

Template Parameters:

T – Type of the object to deserialize.

Parameters:
  • object[out] 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.