VPTissue Reference Manual
SimPT_Shell::XmlGzExporter Class Reference

Functions and data for gzip'ed XML export of Sim objects. More...

#include <XmlGzExporter.h>

Collaboration diagram for SimPT_Shell::XmlGzExporter:
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 gzip'ed XML export of Sim objects.

Definition at line 34 of file XmlGzExporter.h.

Member Function Documentation

bool SimPT_Shell::XmlGzExporter::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 32 of file XmlGzExporter.cpp.

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

Here is the caller graph for this function:

string SimPT_Shell::XmlGzExporter::GetFileExtension ( )
static

File extension associated with this export format.

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

Definition at line 48 of file XmlGzExporter.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: