Posted to tcl by apw at Mon Jul 23 10:06:46 GMT 2007view raw
- there are 3 changes needed for Itcl:
- - allow ::oo::define commands to specify to set the USE_DECLARER_NS flag
- - additional ...::my method in declarer namespace if USE_DECLARER_NS flag is se
- t
- - allow calling of specific method in superclass if overloaded method exists in
- derived class:
- example:
- class cl1 {
- method m1 {} { .... }
- }
- class cl2 {
- method m1 {} { ... }
- method m2 {} {
- my cl1::m1 ; # that is the syntax needed by Itcl
- }
- }
- the code bracketed with #ifdef ARNULF_FOR_ITCL_CODE is experimental only, nothing concrete right now, so forget about that!