![]() |
VPTissue Reference Manual
|
Base class for files containing a Sim snapshot that can be read as a ptree. More...
#include <StartupFilePtree.h>


Public Member Functions | |
| StartupFilePtree (const std::string &path) | |
| Constructor. More... | |
| virtual std::shared_ptr< SimShell::Session::ISession > | CreateSession (std::shared_ptr< SimShell::Ws::IProject > proj, std::shared_ptr< SimShell::Ws::IWorkspace > ws) const |
| virtual SimPT_Sim::SimState | GetSimState (int timestep) const |
| virtual std::vector< int > | GetTimeSteps () const |
| virtual boost::property_tree::ptree | ToPtree () const =0 |
| Returns file content in a ptree format. | |
Public Member Functions inherited from SimPT_Shell::Ws::StartupFileBase | |
| StartupFileBase (const std::string &path) | |
| Constructor. More... | |
| virtual const std::string & | GetPath () const |
Public Member Functions inherited from SimShell::Ws::IFile | |
| virtual | ~IFile () |
| Virtual destructor. | |
| virtual std::vector< QAction * > | GetContextMenuActions () const =0 |
| Get Qt actions that can be triggered on this type of file. | |
Additional Inherited Members | |
Public Types inherited from SimShell::Ws::IFile | |
| using | ConstructorType = std::function< std::shared_ptr< IFile >(const std::string &, const std::string &)> |
| First argument: filename. More... | |
Static Public Attributes inherited from SimPT_Shell::Ws::StartupFileBase | |
| static const ConstructorType | Constructor |
Protected Attributes inherited from SimPT_Shell::Ws::StartupFileBase | |
| const std::string | m_path |
Base class for files containing a Sim snapshot that can be read as a ptree.
Definition at line 30 of file StartupFilePtree.h.
| SimPT_Shell::Ws::StartupFilePtree::StartupFilePtree | ( | const std::string & | path | ) |
|
virtual |
Implements SimShell::Ws::IFile.
Definition at line 45 of file StartupFilePtree.cpp.
References ToPtree().

|
virtual |
Implements SimPT_Shell::Ws::StartupFileBase.
Definition at line 69 of file StartupFilePtree.cpp.
References SimPT_Sim::Sim::GetState(), SimPT_Sim::Sim::Initialize(), and ToPtree().

|
virtual |
Implements SimPT_Shell::Ws::StartupFileBase.
Definition at line 85 of file StartupFilePtree.cpp.
References ToPtree().
