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