VPTissue Reference Manual
StartupFileXmlGz.h
Go to the documentation of this file.
1 #ifndef SIMPT_WS_SIMPT_FILE_XMLGZ_H_INCLUDED
2 #define SIMPT_WS_SIMPT_FILE_XMLGZ_H_INCLUDED
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
21 #include "../../cpp_simptshell/workspace/util/Compressor.h"
22 #include "../../cpp_simptshell/workspace/StartupFilePtree.h"
23 
24 namespace SimPT_Shell {
25 namespace Ws {
26 
27 
32 {
33 public:
36  StartupFileXmlGz(const std::string& path);
37 
39  virtual std::vector<QAction*> GetContextMenuActions() const;
40 
42  virtual boost::property_tree::ptree ToPtree() const;
43 
44 private:
45  Util::Compressor m_decompressor;
46 };
47 
48 } // namespace
49 } // namespace
50 
51 #endif // end_of_include_guard
A file containing a gzip'ed XML representation of a project.
Base class for files containing a Sim snapshot that can be read as a ptree.
Namespace for SimPT shell package.
Definition: Client.cpp:50
virtual std::vector< QAction * > GetContextMenuActions() const
StartupFileXmlGz(const std::string &path)
Constructor.
Compression / decompression actions.
Definition: Compressor.h:33
virtual boost::property_tree::ptree ToPtree() const