00001
00021 #ifndef INC_MI32_SERIALIZABLE_H
00022 #define INC_MI32_SERIALIZABLE_H
00023
00024 #ifndef INC_MI32_STDDEFNS_H
00025 #include <mi32/stddefns.h>
00026 #endif
00027
00028 #ifndef INC_MI32_SERIALIZERBASE_H
00029 #include <mi32/serializerbase.h>
00030 #endif
00031
00032
00059
00060 class SERIALIZABLE {
00061
00062
00063
00064 public:
00065
00075 virtual ERRVALUE SerialRead (
00076 SERIALIZER& serializer
00077 ) = 0;
00078
00089 virtual ERRVALUE SerialWrite (
00090 SERIALIZER& serializer,
00091 const char *tagname = 0
00092 ) const = 0;
00093 };
00094
00095
00096
00097 #endif // INC_MI32_SERIALIZABLE_H