VPTissue Reference Manual
SimPT_Shell::Hdf5Exporter Class Reference

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

#include <Hdf5Exporter.h>

Collaboration diagram for SimPT_Shell::Hdf5Exporter:
Collaboration graph

Static Public Member Functions

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

Detailed Description

Functions and data for HDF5 export of Sim objects.

Definition at line 33 of file Hdf5Exporter.h.

Member Function Documentation

bool SimPT_Shell::Hdf5Exporter::Export ( std::shared_ptr< SimPT_Sim::Sim mesh,
std::string const &  file_path,
bool  overwrite = true 
)
static

Export mesh state to hdf5 format.

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

Definition at line 32 of file Hdf5Exporter.cpp.

References SimPT_Shell::Hdf5File::Close(), SimPT_Shell::Hdf5File::IsOpen(), and SimPT_Shell::Hdf5File::Write().

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

Here is the call graph for this function:

Here is the caller graph for this function:

string SimPT_Shell::Hdf5Exporter::GetFileExtension ( )
static

File extension associated with this export format.

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

Definition at line 47 of file Hdf5Exporter.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: