Re: PyRoot, Reflex, STL iterators and __deref__()

From: <WLavrijsen_at_lbl.gov>
Date: Wed, 10 Dec 2008 13:37:11 -0800


Brett,

> 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.

the details are in the other mail I just sent, but for full reference, this is what I get in my generated _rflx.cpp file and is needed for the rest to work downstream from it:

static void operator_2200( void* retaddr, void* o, const std::vector<void*>&, void*) {
  if (retaddr) *(void**)retaddr = (void*)&(((const ::std::_Rb_tree_iterator<std::pair<const short,DayaBay::SimHitCollection*> >*)o)->operator*)(); else (((const ::std::_Rb_tree_iterator<std::pair<const short,DayaBay::SimHitCollection*> >*)o)->operator*)(); }

Best regards,

           Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Wed Dec 10 2008 - 22:36:52 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 10 2008 - 23:50:01 CET