All Classes Functions Variables Typedefs Friends Pages
IPersistable.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2012 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef IPERSISTABLE_H__GLYMPSE__
8 #define IPERSISTABLE_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
19 /*O*public**/ struct IPersistable : public virtual ICommon
20 {
28  public: virtual void encode(const GPrimitive& encoder, int32 mode) = 0;
29 
34  public: virtual void decode(const GPrimitive& decoder) = 0;
35 };
36 
37 /*C*/typedef O< IPersistable > GPersistable;
38 
39 }
40 
41 #endif // !IPERSISTABLE_H__GLYMPSE__