App::DocumentObjectObserver Class Reference

The DocumentObjectObserver class checks for a list of objects which of them get removed. More...

#include <DocumentObserver.h>

Public Types

typedef std::set< App::DocumentObject * >::const_iterator const_iterator
 

Public Member Functions

void addToObservation (App::DocumentObject *)
 
const_iterator begin () const
 
 DocumentObjectObserver ()
 Constructor. More...
 
const_iterator end () const
 
void removeFromObservation (App::DocumentObject *)
 
virtual ~DocumentObjectObserver ()
 
- Public Member Functions inherited from App::DocumentObserver
void attachDocument (Document *)
 Attaches to another document, the old document is not longer observed then. More...
 
void detachDocument ()
 Detaches from the current document, the document is not longer observed then. More...
 
 DocumentObserver ()
 Constructor. More...
 
 DocumentObserver (Document *)
 
virtual ~DocumentObserver ()
 

Additional Inherited Members

- Protected Member Functions inherited from App::DocumentObserver
DocumentgetDocument () const
 

Detailed Description

The DocumentObjectObserver class checks for a list of objects which of them get removed.

Author
Werner Mayer

Member Typedef Documentation

◆ const_iterator

Constructor & Destructor Documentation

◆ DocumentObjectObserver()

DocumentObjectObserver::DocumentObjectObserver ( )

Constructor.

◆ ~DocumentObjectObserver()

DocumentObjectObserver::~DocumentObjectObserver ( )
virtual

Member Function Documentation

◆ addToObservation()

void DocumentObjectObserver::addToObservation ( App::DocumentObject obj)

◆ begin()

DocumentObjectObserver::const_iterator DocumentObjectObserver::begin ( ) const

◆ end()

◆ removeFromObservation()

void DocumentObjectObserver::removeFromObservation ( App::DocumentObject obj)

The documentation for this class was generated from the following files: