VPTissue Reference Manual
SimPT_Shell::XmlExporter Class Reference

Functions and data for XML export of Sim objects. More...

#include <XmlExporter.h>

Collaboration diagram for SimPT_Shell::XmlExporter:
Collaboration graph

Static Public Member Functions

static bool Export (std::shared_ptr< SimPT_Sim::Sim > sim, const std::string &filename, bool overwrite=true)
 Export state to xml. More...
 
static std::string GetFileExtension ()
 File extension associated with this export format. More...
 

Detailed Description

Functions and data for XML export of Sim objects.

Definition at line 34 of file XmlExporter.h.

Member Function Documentation

bool SimPT_Shell::XmlExporter::Export ( std::shared_ptr< SimPT_Sim::Sim sim,
const std::string &  filename,
bool  overwrite = true 
)
static

Export state to xml.

Parameters
simSim to export.
filenameName of file.
overwriteWhether to overwrite if path already exists.

Definition at line 33 of file XmlExporter.cpp.

Referenced by SimPT_Shell::Session::SimSession::GetExporters().

Here is the caller graph for this function:

string SimPT_Shell::XmlExporter::GetFileExtension ( )
static

File extension associated with this export format.

Returns
String containing file extension (without a ".")

Definition at line 49 of file XmlExporter.cpp.

Referenced by SimPT_Shell::Session::SimSession::GetExporters().

Here is the caller graph for this function:


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