Logo Search packages:      
Sourcecode: pan version File versions  Download package

void pan::Data::ArticleTree::fire_diffs ( const Diffs d ) const [inline, protected, inherited]

the quirky way of incrementing 'it' is to prevent it from being invalidated if on_tree_change() calls remove_listener()

Definition at line 438 of file data.h.

                                                 {
            if (!d.added.empty() || !d.removed.empty() || !d.reparented.empty() || !d.changed.empty()) {
              listeners_t::iterator it, e;
              for (it=_listeners.begin(), e=_listeners.end(); it!=e; )
                (*it++)->on_tree_change (d);
            }
          }

Generated by  Doxygen 1.6.0   Back to index