YARP
Yet Another Robot Platform
xmlappsaver.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_MANAGER_XMLAPPSAVER
7 #define YARP_MANAGER_XMLAPPSAVER
8 
11 
12 namespace yarp {
13 namespace manager {
14 
15 
19 class XmlAppSaver : public AppSaver
20 {
21 
22 public:
23  XmlAppSaver(const char* szFileName=NULL);
24  bool save(Application* application) override;
25  virtual ~XmlAppSaver();
26 
27 protected:
28 
29 private:
30  bool serialXml(Application* app, const char* szFile);
31  std::string strFileName;
32 };
33 
34 } // namespace yarp
35 } // namespace manager
36 
37 
38 #endif // __YARP_MANAGER_XMLAPPSAVER__
Class Application.
Definition: application.h:289
Class XmlAppSaver.
Definition: xmlappsaver.h:20
bool save(Application *application) override
Definition: xmlappsaver.cpp:28
XmlAppSaver(const char *szFileName=NULL)
Definition: xmlappsaver.cpp:21
The main, catch-all namespace for YARP.
Definition: dirs.h:16