#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. | |
template<typename T > | |
T * | getTarget () const |
Returns a pointer to the refernced type. | |
bool | isNull () const |
Returns true if null. | |
unsigned | memberId () const |
Returns the member ID. | |
void * | target () const |
Returns a pointer to the refernced type. | |
const std::type_info & | targetType () const |
Returns the referenced type. | |
Related Functions | |
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. | |