Power System Platform
2024w23a
|
Save and opens the projects created on disk. More...
#include <FileHanding.h>
Public Member Functions | |
FileHanding (Workspace *workspace) | |
FileHanding (ControlEditor *controlEditor) | |
void | SetWorkspace (Workspace *workspace) |
void | SetControlEditor (ControlEditor *controlEditor) |
void | SaveProject (wxFileName path) |
bool | OpenProject (wxFileName path) |
void | SaveControl (wxFileName path) |
bool | OpenControl (wxFileName path, std::vector< ControlElement * > &ctrlElementList, std::vector< ConnectionLine * > &ctrlConnectionList) |
void | SaveControlElements (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=nullptr) |
bool | OpenControlElements (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=nullptr) |
Protected Attributes | |
Workspace * | m_workspace = nullptr |
ControlEditor * | m_controlEditor = nullptr |
Save and opens the projects created on disk.