Yet another OOP update

Robert T. Short octave at phaselockedsystems.com
Fri May 8 11:55:18 CDT 2009


Attached is a patch that will fix object load to call the class 
constructor.  I also fixed the load_ascii function and fixed "struct" to 
return the underlying struct when the argument is an object.

I tested this on some fairly complex objects and it seems to work for 
-text, -hdf5 and -v6 files.  I don't like the way it fails when there 
are errors (e.g. a constructor with arguments) and will make it nicer, 
but this works quite nicely.

Bob
--
Robert T. Short
PhaseLocked Systems
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hg.oop_loadupdate
Url: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090508/f4ebceb7/attachment-0001.ksh 


More information about the Octave-maintainers mailing list