I guess it is used for safeguarding from re-deleting some pointer that was already deleted in the past and for knowing which pointer references real object and which one is not. For example if you...
I am not sure if I understood you completely, but are you sure you need those double values to be stored in pointers to double values (not in doubles they point to)? Anyway, you can read your file...