Hazelcast C++ Client
 All Classes Functions Variables Enumerations Pages
Public Member Functions | List of all members
hazelcast::client::serialization::SerializerBase Class Referenceabstract

Internal Base class for Serializers. More...

#include <Serializer.h>

+ Inheritance diagram for hazelcast::client::serialization::SerializerBase:

Public Member Functions

virtual ~SerializerBase ()
 Destructor.
 
virtual int getHazelcastTypeId () const =0
 unique type id for this serializer. More...
 

Detailed Description

Internal Base class for Serializers.

Member Function Documentation

virtual int hazelcast::client::serialization::SerializerBase::getHazelcastTypeId ( ) const
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

 int getHazelcastTypeId(const MyClass*);

which should return same id with its serializer.


The documentation for this class was generated from the following files: