[fpc-pascal] Heterogenous list of objects

Damien Gerard milipili at shikami.org
Tue Jan 22 18:38:45 CET 2008


On Jan 22, 2008, at 6:23 PM, g.marcou at chimie.u-strasbg.fr wrote:

> Hi all,
>
> thanks for your kind and fast answer. Effectively, TObjectList is  
> what I need. Thanks to Damien, I understand a bit better how it  
> works. But in my case I believe  that I need to use some kind of  
> TList of TObjectList. So is it possible to build a class that will  
> have TObjecList member so that I will be able to use TList of this  
> class?
>
> For instance:



No. Per node you can add its own ObjectList and use virtual methods to  
make the job for you.


--
Damien Gerard
milipili at shikami.org

Le temps n'a pas d'importance. Seul le code est important
    -- (f00ty)







More information about the fpc-pascal mailing list