TBoldSystemLocatorList¶
Unit: BoldSystem
Declaration¶
Hierarchy¶
- TObject
TBoldMemoryManagedObjectTBoldInterfacedObjectTBoldNonRefCountedObjectTBoldUnOrderedIndexableList- TBoldSystemLocatorList
Description¶
This list is used by the system to keep track of all locators/objects in memory. If you want to traverse the objects or the locators of a system you must get hold of a traverser using the CreateTraverser-method, see the example.
Properties¶
| Name | Summary | Notes |
|---|---|---|
| LocatorByID | read-only | |
| ObjectByID | read-only |
LocatorByID¶
If the locator with this ObjectId is in the list, then it will be returned, otherwise nil.
ObjectByID¶
Finds a BoldObject by hashing on its id.
Methods¶
| Name | Summary | Notes |
|---|---|---|
| Create | ||
| CreateTraverser | ||
| TraverserClass | protected, override | |
| UpdateID |
Create¶
You should never have to create a SystemLocatorList yourself. Instead, use a TBoldObjectList.
CreateTraverser¶
This function returns a traverser that you can use to loop over all the objects or locators in a system. Remember to free the traverser when you are done.
TraverserClass¶
UpdateID¶
procedure UpdateID(Locator: TBoldObjectLocator; NewObjectID: TBoldObjectId; AllowInternal: Boolean = false);
There is normally no need to call this method. it is called by the system during certain database operations.
Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.