|
LibreOffice Module sw (master) 1
|
Contains the node and tracks if the node gets deleted. More...
#include <OnlineAccessibilityCheck.hxx>
Public Member Functions | |
| WeakNodeContainer (SwNode *pNode) | |
| ~WeakNodeContainer () | |
| bool | isAlive () |
| Is the node still alive or it was deleted? More... | |
| SwNode * | getNode () |
| Returns the pointer of the node or nullptr if the node got deleted. More... | |
Public Member Functions inherited from SvtListener | |
| SvtListener ()=default | |
| SvtListener (const SvtListener &r)=default | |
| virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
| bool | StartListening (SvtBroadcaster &rBroadcaster) |
| void | EndListening (SvtBroadcaster &rBroadcaster) |
| void | EndListeningAll () |
| void | CopyAllBroadcasters (const SvtListener &r) |
| bool | HasBroadcaster () const |
| virtual void | Notify (const SfxHint &rHint) |
| virtual void | Query (QueryBase &rQuery) const |
Private Attributes | |
| SwNode * | m_pNode |
Contains the node and tracks if the node gets deleted.
Note: the node needs to extend sw::BroadcastingModify.
Definition at line 27 of file OnlineAccessibilityCheck.hxx.
| sw::WeakNodeContainer::WeakNodeContainer | ( | SwNode * | pNode | ) |
Definition at line 33 of file OnlineAccessibilityCheck.cxx.
References SvtListener::EndListeningAll(), m_pNode, and SvtListener::StartListening().
| sw::WeakNodeContainer::~WeakNodeContainer | ( | ) |
Definition at line 51 of file OnlineAccessibilityCheck.cxx.
References SvtListener::EndListeningAll().
| SwNode * sw::WeakNodeContainer::getNode | ( | ) |
Returns the pointer of the node or nullptr if the node got deleted.
Definition at line 62 of file OnlineAccessibilityCheck.cxx.
| bool sw::WeakNodeContainer::isAlive | ( | ) |
Is the node still alive or it was deleted?
Definition at line 53 of file OnlineAccessibilityCheck.cxx.
References SvtListener::HasBroadcaster(), and m_pNode.
Referenced by getNode().
|
private |
Definition at line 30 of file OnlineAccessibilityCheck.hxx.
Referenced by getNode(), isAlive(), and WeakNodeContainer().