Power System Platform  2024w23a
Loading...
Searching...
No Matches
FileHanding Class Reference

Save and opens the projects created on disk. More...

#include <FileHanding.h>

Collaboration diagram for FileHanding:

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

Workspacem_workspace = nullptr
 
ControlEditorm_controlEditor = nullptr
 

Detailed Description

Save and opens the projects created on disk.

Author
Thales Lima Oliveira thale.nosp@m.s@uf.nosp@m.u.br
Date
05/10/2017

The documentation for this class was generated from the following files: