PageRenderTime 17ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Core_Serialization/Serializable.h

http://github.com/Akranar/daguerreo
C Header | 17 lines | 12 code | 5 blank | 0 comment | 0 complexity | c58a488d3f5148bb873cf335b4bce35d MD5 | raw file
Possible License(s): AGPL-3.0, LGPL-2.1, LGPL-3.0, GPL-2.0
 1#ifndef _SERIALIZABLE_H_
 2#define _SERIALIZABLE_H_
 3
 4class Stream;
 5
 6class Serializable
 7{
 8public:
 9	virtual ~Serializable() {};
10	virtual void Serialize(Stream & stream) const = 0;
11	virtual void SerializeTypeId(Stream & stream) const = 0;
12	virtual void Unserialize(Stream & stream) = 0;
13};
14
15
16
17#endif