[Xotcl] info instances for mixins

Ben Thomasson ben.thomasson at gmail.com
Fri Jul 15 20:58:28 CEST 2005


Hi,

I am looking for functionality similar to Class info instances for mixins 
and instmixins. 

Essentially I'd like:

>xotclsh
% Class A
::A
% A a
::a
% A info instances
::a
% Class B
::B
% A instmixin B
% B info instances

This last line to return.
::a

Is this possible with any info proc that exists today or could something 
like this be easily added to the 
code?

I am trying to simplify searches on a large object graph by using mixins. I 
already use introspection to find instances of certain classes. I would like 
to be able to do the same with mixin classes. Is the mixin functionality 
implemented with object->class pointers. Are there pointers mixin->object or 
mixin->class->object?

Thanks,

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://alice.wu-wien.ac.at/pipermail/xotcl/attachments/20050715/5414e668/attachment.html


More information about the Xotcl mailing list