Gui::DocumentWeakPtrT Class Reference

The DocumentWeakPtrT class. More...

#include <DocumentObserver.h>

Classes

class  Private
 

Public Member Functions

 DocumentWeakPtrT (Gui::Document *) noexcept
 
bool expired () const noexcept
 expired More...
 
Gui::Documentoperator* () const noexcept
 operator * More...
 
Gui::Documentoperator-> () const 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()

DocumentWeakPtrT::DocumentWeakPtrT ( Gui::Document doc)
noexcept

◆ ~DocumentWeakPtrT()

DocumentWeakPtrT::~DocumentWeakPtrT ( )

Member Function Documentation

◆ expired()

bool DocumentWeakPtrT::expired ( ) const
noexcept

expired

Returns
true if the managed object has already been deleted, false otherwise.

◆ operator*()

Gui::Document * DocumentWeakPtrT::operator* ( ) const
noexcept

operator *

Returns
pointer to the document

◆ operator->()

Gui::Document * DocumentWeakPtrT::operator-> ( ) const
noexcept

operator ->

Returns
pointer to the document

◆ reset()

void DocumentWeakPtrT::reset ( )
noexcept

reset Releases the reference to the managed object. After the call *this manages no object.

Referenced by draftguitools.gui_trackers.gridTracker::set().


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