Internal Base class for Serializers. More...
#include <Serializer.h>
Public Member Functions | |
virtual | ~SerializerBase () |
Destructor. | |
virtual int32_t | getHazelcastTypeId () const =0 |
unique type id for this serializer. More... | |
Internal Base class for Serializers.
|
pure virtual |
unique type id for this serializer.
It will be used to decide which serializer needs to be used for your classes. Also not that for your serialized classes you need to implement as free function in same namespace with your class
int32_t getHazelcastTypeId(const MyClass*);
which should return same id with its serializer.