Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-01

[FEATURE REQUEST] New FGL type: TFPGMapObjectData

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Maciej Izak
to silvioprog: The FGL unit has many very nice classes, but we should add a new type: TFPGMapObjectData.…

2016-01-17 23:50 GMT+01:00 silvioprog :

Show quoted text 12 lines
Hello, The FGL unit has many very nice classes, but we should add a new type: TFPGMapObjectData. (or simply TFPGMapObject) This type is just a list that frees its itens on destroy, similar to the Delphi `TObjectDictionary` [1]. [1] http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Generics.Collections.TObjectDictionary

Maybe better is to add TObjectDictionary and whole Generics.Collections.

silvioprog
to Maciej Izak
Maciej Izak wrote 16 lines
2016-01-17 23:50 GMT+01:00 silvioprog : > Hello, > > The FGL unit has many very nice classes, but we should add a new type: > TFPGMapObjectData. (or simply TFPGMapObject) > > This type is just a list that frees its itens on destroy, similar to the > Delphi `TObjectDictionary` [1]. > > [1] > http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Generics.Collections.TObjectDictionary > > Maybe better is to add TObjectDictionary and whole Generics.Collections.

+1.

I'm using TObjectDictionary on Delphi, but FGL helped me a lot too, so it should be improved by adding an object list type.

I'm expecting the -- helpful -- TObjectDictionary on FPC too. *-*

Silvio Clécio