wxArt2D
Classes | Public Member Functions | Friends | List of all members
a2dResolveIdInfo Class Reference

class used in a2dResolveIdList to resolve references to other objects while readin in a file. More...

#include <gen.h>

Inheritance diagram for a2dResolveIdInfo:
Inheritance graph
[legend]
Collaboration diagram for a2dResolveIdInfo:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Definition at line 734 of file gen.h.


The documentation for this class was generated from the following files:
a2dResolveIdInfo Class Reference -- Sun Oct 12 2014 17:04:47 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation