MyGUI: MyGUI_ISerializable.h Source File

MyGUI 3.4.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

MyGUI_ISerializable.h
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#ifndef MYGUI_I_SERIALIZABLE_H_
8#define MYGUI_I_SERIALIZABLE_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_IObject.h"
12#include "MyGUI_XmlDocument.h"
13#include "MyGUI_Version.h"
14
15namespace MyGUI
16{
17
18 class MYGUI_EXPORT ISerializable :
19 public IObject
20 {
21 MYGUI_RTTI_DERIVED( ISerializable )
22
23 public:
24 virtual void serialization(xml::ElementPtr /*_node*/, Version /*_version*/) { }
25 virtual void deserialization(xml::ElementPtr /*_node*/, Version /*_version*/) { }
26 };
27
28} // namespace MyGUI
29
30#endif // MYGUI_I_SERIALIZABLE_H_
MyGUI_IObject.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:48
MyGUI_Version.h
MyGUI_XmlDocument.h
MyGUI::IObject
Definition MyGUI_IObject.h:17
MyGUI::ISerializable
Definition MyGUI_ISerializable.h:20
MyGUI::ISerializable::deserialization
virtual void deserialization(xml::ElementPtr, Version)
Definition MyGUI_ISerializable.h:25
MyGUI::ISerializable::serialization
virtual void serialization(xml::ElementPtr, Version)
Definition MyGUI_ISerializable.h:24
MyGUI::Version
Definition MyGUI_Version.h:18
MyGUI::xml::Element
Definition MyGUI_XmlDocument.h:159
MyGUI
Definition MyGUI_ActionController.h:15