VPTissue Reference Manual
SimPT_Shell::CsvExporter Class Reference

Functions and data for CSV (comma-separated values) export of Sim objects. More...

#include <CsvExporter.h>

Collaboration diagram for SimPT_Shell::CsvExporter:
Collaboration graph

Static Public Member Functions

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

Detailed Description

Functions and data for CSV (comma-separated values) export of Sim objects.

Definition at line 36 of file CsvExporter.h.

Member Function Documentation

bool SimPT_Shell::CsvExporter::Export ( std::shared_ptr< SimPT_Sim::SimInterface sim,
std::string const &  file_path,
bool  overwrite = true 
)
static

Export mesh state to csv format.

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

Definition at line 40 of file CsvExporter.cpp.

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

Here is the caller graph for this function:

string SimPT_Shell::CsvExporter::GetFileExtension ( )
static

File extension associated with this export format.

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

Definition at line 65 of file CsvExporter.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: