Hello all, 

Thanks to the help we found here, we've made quite a bit of progress
developing new objects for Octave.  We winnowed down the examples to
barely 30 lines of C++, and started building up from there.  So far, so
good.  

The immediate question: When deriving from octave_base_value, what methods
must be implemented to convince the interpreter to call the object's
subsasgn method?  

The more general question: where can I find documentation describing the
linkages of the various methods?  For example, we found that subsref is
not called unless we define both:

        bool is_defined(void) const { return true; }
and
        bool is_constant(void) const { return false; }

but the trial and error approach isn't the easiest!  

Many thanks for your guidance. 

--jkl

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to