LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
sw::UnoCursorPointer Class Reference

#include <unocrsr.hxx>

Inheritance diagram for sw::UnoCursorPointer:
[legend]
Collaboration diagram for sw::UnoCursorPointer:
[legend]

Public Member Functions

 UnoCursorPointer ()
 
 UnoCursorPointer (std::shared_ptr< SwUnoCursor > const &pCursor)
 
 UnoCursorPointer (const UnoCursorPointer &rOther)
 
virtual ~UnoCursorPointer () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
SwUnoCursorget () const
 
SwUnoCursoroperator-> () const
 
SwUnoCursoroperator* () const
 
UnoCursorPointeroperator= (UnoCursorPointer aOther)
 
 operator bool () const
 
void reset (std::shared_ptr< SwUnoCursor > pNew)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Attributes

std::shared_ptr< SwUnoCursorm_pCursor
 

Detailed Description

Definition at line 106 of file unocrsr.hxx.

Constructor & Destructor Documentation

sw::UnoCursorPointer::UnoCursorPointer ( )
inline

Definition at line 109 of file unocrsr.hxx.

sw::UnoCursorPointer::UnoCursorPointer ( std::shared_ptr< SwUnoCursor > const &  pCursor)
inline

Definition at line 111 of file unocrsr.hxx.

References m_pCursor, and SfxListener::StartListening().

sw::UnoCursorPointer::UnoCursorPointer ( const UnoCursorPointer rOther)
inline

Definition at line 116 of file unocrsr.hxx.

References m_pCursor, and SfxListener::StartListening().

virtual sw::UnoCursorPointer::~UnoCursorPointer ( )
inlineoverridevirtual

Definition at line 123 of file unocrsr.hxx.

References SfxListener::EndListening(), and m_pCursor.

Member Function Documentation

SwUnoCursor* sw::UnoCursorPointer::get ( ) const
inline

Definition at line 138 of file unocrsr.hxx.

References m_pCursor.

virtual void sw::UnoCursorPointer::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
inlineoverridevirtual

Reimplemented from SfxListener.

Definition at line 128 of file unocrsr.hxx.

References SfxListener::EndListening(), SfxListener::GetBroadcasterCount(), and m_pCursor.

sw::UnoCursorPointer::operator bool ( ) const
inlineexplicit

Definition at line 155 of file unocrsr.hxx.

References m_pCursor.

SwUnoCursor& sw::UnoCursorPointer::operator* ( void  ) const
inline

Definition at line 142 of file unocrsr.hxx.

SwUnoCursor* sw::UnoCursorPointer::operator-> ( ) const
inline

Definition at line 140 of file unocrsr.hxx.

UnoCursorPointer& sw::UnoCursorPointer::operator= ( UnoCursorPointer  aOther)
inline
void sw::UnoCursorPointer::reset ( std::shared_ptr< SwUnoCursor pNew)
inline

Member Data Documentation

std::shared_ptr<SwUnoCursor> sw::UnoCursorPointer::m_pCursor
private

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