FixupInfo Class Reference

#include <Pt/FixupInfo.h>

Fixup of references during serialization.

Public Member Functions

 FixupInfo (void *target, const std::type_info &targetType, unsigned mid)
 Construct from referenced type.
 ~FixupInfo ()
 Destructor.
void * target () const
 Returns a pointer to the refernced type.
const std::type_info & targetType () const
 Returns the referenced type.
unsigned memberId () const
 Returns the member ID.
bool isNull () const
 Returns true if null.
template<typename T>
T * getTarget () const
 Returns a pointer to the refernced type.

(Note that these are not member symbols.)

template<typename T>
void fixup (const FixupInfo &fixup, T *&fixme)
 Fixup references during serialization.
template<typename T>
void fixup (const FixupInfo &fixup, T &fixme)
 Fixup references during serialization.