20 #include "../../cpp_simptshell/exporters/XmlExporter.h"
35 if (!overwrite && ifstream(file_path).good()) {
41 PTreeFile::WriteXml(file_path, sim->ToPtree());
static bool Export(std::shared_ptr< SimPT_Sim::Sim > sim, const std::string &filename, bool overwrite=true)
Export state to xml.
Namespace for miscellaneous utilities.
Namespace for SimPT shell package.
Namespace for the core simulator.
Sim, the actual simulator.
static std::string GetFileExtension()
File extension associated with this export format.