Hi Wim,
WLavrijsen_at_lbl.gov writes:
>
> __deref__ is something that I made up to map unitary operator*. Can you
> look in the generated dictionary whether an entry for it is present for
> the iterators that you're interested in?
No, I don't find it in the generated dictionary .cpp file and playing with the object in ipython doesn't show any hint. See session below for what I mean.
-Brett.
In [5]: hc = hits.hitCollection()
In [6]: hc
Out[6]: <ROOT.map<short,DayaBay::SimHitCollection*> object at 0xca30cfc>
In [7]: b = hc.begin()
In [8]: b
Out[8]: <ROOT._Rb_tree_iterator<pair<const short,DayaBay::SimHitCollection*> > object at 0xd0bb448>
In [9]: *b
File "<ipython console>", line 1
*b ^
In [10]: b.
b.__class__ b.__eq__ b.__init__ b.__new__ b.__setattr__ b.__cmp__ b.__ge__ b.__le__ b.__nonzero__ b.__str__ b.__delattr__ b.__getattribute__ b.__lt__ b.__reduce__ b.__weakref__ b.__dict__ b.__gt__ b.__module__ b.__reduce_ex__ b.next b.__doc__ b.__hash__ b.__ne__ b.__repr__Received on Wed Dec 10 2008 - 07:06:58 CET
This archive was generated by hypermail 2.2.0 : Wed Dec 10 2008 - 23:50:01 CET