// Copyright (c) 2006 Move Interactive // // //---------------------------------------------------------------------------- #ifndef _FLOWENGINE_CORE_SERIALIZATION_SERIALIZER_H_ #define _FLOWENGINE_CORE_SERIALIZATION_SERIALIZER_H_ #include "core/RTTIObject.h" #include #include "core/serialization/IArchive.h" namespace FlowEngine { class Serializer : public Object { //RTTI_DECLARE; typedef Object Parent; public: virtual void Serialize(IArchive& ar, const unsigned int version) = 0; template void serialize(Archive & ar, const unsigned int version) { Serialize((IArchive&)ar, version); } }; } #endif