LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
SvUnoWeakContainer Class Reference

#include <unowcntr.hxx>

Public Member Functions

 SvUnoWeakContainer () noexcept
 
 ~SvUnoWeakContainer () noexcept
 
void insert (const css::uno::WeakReference< css::uno::XInterface > &xRef) noexcept
 inserts the given ref into this container More...
 
bool findRef (css::uno::WeakReference< css::uno::XInterface > &rRef, void const *pSearchData, weakref_searchfunc pSearchFunc)
 searches the container for a ref that returns true on the given search function More...
 
void dispose ()
 

Private Attributes

std::vector< css::uno::WeakReference< css::uno::XInterface > > maVector
 

Detailed Description

Definition at line 27 of file unowcntr.hxx.

Constructor & Destructor Documentation

◆ SvUnoWeakContainer()

SvUnoWeakContainer::SvUnoWeakContainer ( )
noexcept

Definition at line 26 of file unowcntr.cxx.

◆ ~SvUnoWeakContainer()

SvUnoWeakContainer::~SvUnoWeakContainer ( )
noexcept

Definition at line 30 of file unowcntr.cxx.

Member Function Documentation

◆ dispose()

void SvUnoWeakContainer::dispose ( void  )

Definition at line 85 of file unowcntr.cxx.

References maVector.

◆ findRef()

bool SvUnoWeakContainer::findRef ( css::uno::WeakReference< css::uno::XInterface > &  rRef,
void const *  pSearchData,
weakref_searchfunc  pSearchFunc 
)

searches the container for a ref that returns true on the given search function

Definition at line 58 of file unowcntr.cxx.

References maVector.

◆ insert()

void SvUnoWeakContainer::insert ( const css::uno::WeakReference< css::uno::XInterface > &  xRef)
noexcept

inserts the given ref into this container

Definition at line 35 of file unowcntr.cxx.

Member Data Documentation

◆ maVector

std::vector< css::uno::WeakReference< css::uno::XInterface > > SvUnoWeakContainer::maVector
private

Definition at line 30 of file unowcntr.hxx.

Referenced by dispose(), and findRef().


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