wxArt2D
|
class used in a2dResolveIdList to resolve references to other objects while readin in a file. More...
#include <gen.h>
Public Member Functions | |
a2dResolveIdInfo (const wxString &idStr, a2dSmrtPtr< a2dObject > *storedHere) | |
a2dResolveIdInfo (const wxString &idStr, a2dAutoZeroPtr< a2dObject > *storedHere) | |
a2dResolveIdInfo (const wxString &idStr, a2dObject *link) | |
a2dResolveIdInfo (a2dObject *inform) | |
Friends | |
class | a2dResolveIdList |
class | a2dRefMap |
class used in a2dResolveIdList to resolve references to other objects while readin in a file.
a2dObject can be referenced multiple times, in certain file formats this can be maintained. When reading back such files, the original references need to be restored. When reading a reference from a file, the object that it references might not have bin read yet. Therefore if not found they are first stored, and when all is read those are resolved. The a2dResolveIdList is used to store onsolved references, while all objects which can be referenced to, are stored in a2dHashMapIntToObject so they can be quickly found.