Sandbox::DocumentProtector Class Reference
#include <DocumentProtector.h>
Public Member Functions | |
| App::DocumentObject * | addObject (const std::string &type, const std::string &name="") |
| DocumentProtector (App::Document *) | |
| void | recompute () |
| void | removeObject (const std::string &name) |
| ~DocumentProtector () | |
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 () |
Static Public Member Functions | |
| static void | init () |
Additional Inherited Members | |
Protected Member Functions inherited from App::DocumentObserver | |
| Document * | getDocument () const |
Constructor & Destructor Documentation
◆ DocumentProtector()
| DocumentProtector::DocumentProtector | ( | App::Document * | doc | ) |
◆ ~DocumentProtector()
| DocumentProtector::~DocumentProtector | ( | ) |
Member Function Documentation
◆ addObject()
| App::DocumentObject * DocumentProtector::addObject | ( | const std::string & | type, |
| const std::string & | name = "" |
||
| ) |
◆ init()
|
static |
References Sandbox::DocumentReceiver::globalInstance().
Referenced by DocumentObject.DocumentObject::onChanged().
◆ recompute()
| void DocumentProtector::recompute | ( | ) |
◆ removeObject()
| void DocumentProtector::removeObject | ( | const std::string & | name | ) |
The documentation for this class was generated from the following files:
- src/Mod/Sandbox/App/DocumentProtector.h
- src/Mod/Sandbox/App/DocumentProtector.cpp
Public Member Functions inherited from
1.8.17