Power System Platform  2018w15a
Public Member Functions | Protected Attributes | List of all members
FileHanding Class Reference

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

#include <FileHanding.h>

Collaboration diagram for FileHanding:
Collaboration graph
[legend]

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=NULL)
 
bool OpenControlElements (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=NULL)
 

Protected Attributes

Workspacem_workspace = NULL
 
ControlEditorm_controlEditor = NULL
 

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: