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

void Inkscape::XML::CompositeNodeObserver::notifyChildRemoved ( Node node,
Node child,
Node prev 
) [virtual]

Child removal callback.

This method is called whenever a child is removed from the observed node. The prev parameter is NULL when the removed child was first in the sibling order.

Parameters:
node The changed XML node
child The removed child node
prev The node that was before the removed node in sibling order, or NULL

Reimplemented from Inkscape::XML::NodeObserver.

Definition at line 41 of file composite-node-observer.cpp.

Referenced by Inkscape::XML::SimpleNode::removeChild().

{
    _startIteration();
    for ( ObserverRecordList::iterator iter=_active.begin() ;
          iter != _active.end() ; ++iter )
    {
        if (!iter->marked) {
            iter->observer.notifyChildRemoved(node, child, prev);
        }
    }
    _finishIteration();
}


Generated by  Doxygen 1.6.0   Back to index