App::DocumentWeakPtrT Class Reference
The DocumentWeakPtrT class. More...
#include <DocumentObserver.h>
Public Member Functions | |
DocumentWeakPtrT (App::Document *) noexcept | |
bool | expired () const noexcept |
expired More... | |
App::Document * | operator-> () noexcept |
operator -> More... | |
void | reset () noexcept |
reset Releases the reference to the managed object. After the call *this manages no object. More... | |
~DocumentWeakPtrT () | |
Detailed Description
The DocumentWeakPtrT class.
Constructor & Destructor Documentation
◆ DocumentWeakPtrT()
|
noexcept |
◆ ~DocumentWeakPtrT()
DocumentWeakPtrT::~DocumentWeakPtrT | ( | ) |
Member Function Documentation
◆ expired()
|
noexcept |
expired
- Returns
- true if the managed object has already been deleted, false otherwise.
◆ operator->()
|
noexcept |
operator ->
- Returns
- pointer to the document
◆ reset()
|
noexcept |
reset Releases the reference to the managed object. After the call *this manages no object.
Referenced by Gui::DocumentWeakPtrT::Private::deletedDocument(), and draftguitools.gui_trackers.gridTracker::set().
The documentation for this class was generated from the following files:
- src/App/DocumentObserver.h
- src/App/DocumentObserver.cpp