Class TPasItems
Unit
Declaration
type TPasItems = class(TBaseItems)
Description
Container class to store a list of TPasItems.
Hierarchy
- TObject
- TList
- TObjectList
- TObjectVector
- TBaseItems
- TPasItems
Overview
Methods
function FindListItem(const AName: string): TPasItem; |
|
procedure CopyItems(const c: TPasItems); |
|
procedure CountCIO(var c, i, o: Integer); |
|
procedure RemovePrivateItems; |
|
procedure SortDeep(const SortSettings: TSortSettings); |
|
procedure SortOnlyInsideItems(const SortSettings: TSortSettings); |
|
procedure SortShallow; |
|
procedure SetFullDeclaration(PrefixName: boolean; const Suffix: string); |
Properties
property PasItemAt[constAIndex:Integer]: TPasItem read GetPasItemAt
write SetPasItemAt; |
Description
Methods
function FindListItem(const AName: string): TPasItem; |
|
A comfortable routine that just calls inherited and casts result to TPasItem, since every item on this list must be always TPasItem. |
procedure CopyItems(const c: TPasItems); |
|
Copies all Items from c to this object, not changing c at all. |
procedure CountCIO(var c, i, o: Integer); |
|
Counts classes, interfaces and objects within this collection. |
procedure RemovePrivateItems; |
|
Checks each element's Visibility field and removes all elements with a value of viPrivate. |
procedure SortDeep(const SortSettings: TSortSettings); |
|
This sorts all items on this list by their name, and also calls Sort(SortSettings) for each of these items. This way it sorts recursively everything in this list. This is equivalent to doing both SortShallow and SortOnlyInsideItems. |
procedure SortOnlyInsideItems(const SortSettings: TSortSettings); |
|
This calls Sort(SortSettings) for each of items on the list. It does not sort the items on this list. |
procedure SortShallow; |
|
This sorts all items on this list by their name. Unlike SortDeep, it does not call Sort for each of these items. So "items inside items" (e.g. class methods, if this list contains TPasCio objects) remain unsorted. |
Properties
property PasItemAt[constAIndex:Integer]: TPasItem read GetPasItemAt
write SetPasItemAt; |
|
Generated by PasDoc 0.16.0.