TResourceCollection object
Collection of resource names.
Declaration
TResourceCollection = class(TStringCollection)Inheritance
- TResourceCollection
- TStringCollection
- TSortedCollection
- TCollection
- TPersistent
- TObject
Description
A TResourceCollection manages a collection of resource names.
It stores the position and the size of a resource, as well as the name of
the resource. It stores these items in records that look like this:
TYPE
TResourceItem = packed RECORD
Posn: LongInt;
Size: LongInt;
Key : String;
End;
PResourceItem = ^TResourceItem;
It overrides some methods of TStringCollection in order to accomplish
this.
TResourceCollection manages the names of the
resources and their associated positions and sizes, it doesn't manage
the resources themselves.
Methods
KeyOf | Return the key of an item in the collection. | |
GetItem | Read an item from the stream. | |
FreeItem | Release memory occupied by item. | |
PutItem | Write an item to the stream. |
Inherited
From TCollection (30)
Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
