#include <gee_id.h>
Inheritance diagram for GEE_IdContainer:
This enables us to automatically access all the ids that a particular object has. This feature is needed when we do the id-remapping during file loading.
The ids must be relative to an object (normal class members, not behind a pointer etc).
The id-information is stored internally as a list (actually std::set) of integers. The integers provide offset values that indicate how far an id is located from this-pointer. This may look hazardous, but it should be a stable approach.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method returns an id that the iterator points to.
|
|
Adds an id member to be tracked.
|
|
Returns all "extra" ids that a child may have. These ids are typically something that are dynamically allocated in the child object. Thus they cannot be tracked with the normal method. The returned structure should not be allocated for this purpose (it shouldbe an ordinary class member that is returned. The default implementation returns true. Reimplemented in GEE_CopyGeometry, GEE_Group, GEE_GroupGeos, GEE_IdSelect, GEE_MoveAroundPath, GEE_PathMultiply, and GEE_ScaleAroundPaths. |
|
This method changes the normal ids based on the remapping information. The default implementation remaps the ids that are tracked with direct offset pointer method. |
|
|
|
|
|
|
|
|
|
Sets the ID with allocateId().
|
|
|
|
|
|
|
|
|
|
|
|
|