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 | |
| Document * | getDocument () const |
Detailed Description
The DocumentObjectObserver class checks for a list of objects which of them get removed.
Member Typedef Documentation
◆ const_iterator
| typedef std::set<App::DocumentObject*>::const_iterator App::DocumentObjectObserver::const_iterator |
Constructor & Destructor Documentation
◆ DocumentObjectObserver()
| DocumentObjectObserver::DocumentObjectObserver | ( | ) |
Constructor.
◆ ~DocumentObjectObserver()
|
virtual |
Member Function Documentation
◆ addToObservation()
| void DocumentObjectObserver::addToObservation | ( | App::DocumentObject * | obj | ) |
◆ begin()
| DocumentObjectObserver::const_iterator DocumentObjectObserver::begin | ( | ) | const |
◆ end()
| DocumentObjectObserver::const_iterator DocumentObjectObserver::end | ( | ) | const |
◆ removeFromObservation()
| void DocumentObjectObserver::removeFromObservation | ( | App::DocumentObject * | obj | ) |
The documentation for this class was generated from the following files:
- src/App/DocumentObserver.h
- src/App/DocumentObserver.cpp
Public Member Functions inherited from
1.8.17