35 #ifndef ANA_PROCESSOR_SERIALIZER_H
36 #define ANA_PROCESSOR_SERIALIZER_H
Serializer is a helper class for pointer serialization.
virtual ~Serializer()
does nothing
int _id
Current ID: begin from 0 and increment with every new pointer.
int serialize(void *ptr)
Generate a unique ID to serialize a pointer.
std::map< void *, int > _ptr2id
Pointer to ID lookup table.