On 4 June 2010 15:19, spir wrote: > -1- class wrappers > Are there in stock implementations of class wrappers for primitive types: > such as TInteger, TString, etc? (that would for instance just hold a .value > attr and delegate operations to builtin funcs or procs) This would save me > some work :-)
The tiOPF project has those implemented in the tiObject.pas unit. I implemented my own about a year ago, but never really used it in any real-world projects. Lee Jenkins also wrote something similar (VTF - Value Type Framework). tiOPF is on SourceForge. Lee's svn repository is at: http://leebo.dreamhosters.com/VTF My code is somewhere on my hard drive. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal