Re: [fpc-pascal] Persistent list to store objects

2015-08-17 Thread Luiz Americo Pereira Camara
TCollection with fpjsonrtti unit

See examples in packages/fcl-json folder

Luiz
Em 17/08/2015 14:06, "luciano de souza"  escreveu:

> Hello all,
>
> There are several classes which manages lists. TCollection,
> TObjectlist, TFPGObjectlist... Does someone know if one of then can be
> saved as a file and reloaded again to an object?
>
> Regards,
>
> --
> Luciano de Souza
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Persistent list to store objects

2015-08-17 Thread Graeme Geldenhuys
On 2015-08-17 18:05, luciano de souza wrote:
> Does someone know if one of then can be
> saved as a file and reloaded again to an object?

Use TtiObjectList as defined in the tiOPF (Object Persistence
Framework). You can store the containing objects to CSV, TAB, multiple
RDBMS or even over a 3-tier (HTTP) link. tiOPF can obviously do much
more for you too.

  http://www.tiopf.com

Source code lives on SourceForge.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] Persistent list to store objects

2015-08-17 Thread luciano de souza
Hello all,

There are several classes which manages lists. TCollection,
TObjectlist, TFPGObjectlist... Does someone know if one of then can be
saved as a file and reloaded again to an object?

Regards,

-- 
Luciano de Souza
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal