LibreOffice Module comphelper (master) 1
|
provides a com.sun.star.container::XEnumeration access based on an object implementing the com.sun.star.container::XNameAccess interface More...
#include <enumhelper.hxx>
Public Member Functions | |
OEnumerationByIndex (css::uno::Reference< css::container::XIndexAccess > _xAccess) | |
virtual | ~OEnumerationByIndex () override |
virtual sal_Bool SAL_CALL | hasMoreElements () override |
virtual css::uno::Any SAL_CALL | nextElement () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &aEvent) override |
Private Member Functions | |
COMPHELPER_DLLPRIVATE void | impl_startDisposeListening () |
COMPHELPER_DLLPRIVATE void | impl_stopDisposeListening () |
Private Attributes | |
css::uno::Reference< css::container::XIndexAccess > | m_xAccess |
sal_Int32 | m_nPos |
bool | m_bListening |
std::mutex | m_aLock |
provides a com.sun.star.container::XEnumeration access based on an object implementing the com.sun.star.container::XNameAccess interface
Definition at line 71 of file enumhelper.hxx.
comphelper::OEnumerationByIndex::OEnumerationByIndex | ( | css::uno::Reference< css::container::XIndexAccess > | _xAccess | ) |
Definition at line 151 of file enumhelper.cxx.
References impl_startDisposeListening(), and m_nPos.
|
overridevirtual |
Definition at line 160 of file enumhelper.cxx.
References impl_stopDisposeListening(), and m_aLock.
|
overridevirtual |
Definition at line 205 of file enumhelper.cxx.
|
overridevirtual |
Definition at line 168 of file enumhelper.cxx.
References impl_stopDisposeListening(), m_aLock, m_nPos, and m_xAccess.
|
private |
Definition at line 214 of file enumhelper.cxx.
References m_bListening, m_refCount, and m_xAccess.
Referenced by OEnumerationByIndex().
|
private |
Definition at line 230 of file enumhelper.cxx.
References m_bListening, m_refCount, and m_xAccess.
Referenced by hasMoreElements(), nextElement(), and ~OEnumerationByIndex().
|
overridevirtual |
Definition at line 185 of file enumhelper.cxx.
References impl_stopDisposeListening(), m_aLock, m_nPos, and m_xAccess.
|
private |
Definition at line 78 of file enumhelper.hxx.
Referenced by disposing(), hasMoreElements(), nextElement(), and ~OEnumerationByIndex().
|
private |
Definition at line 77 of file enumhelper.hxx.
Referenced by impl_startDisposeListening(), and impl_stopDisposeListening().
|
private |
Definition at line 76 of file enumhelper.hxx.
Referenced by hasMoreElements(), and nextElement().
|
private |
Definition at line 75 of file enumhelper.hxx.
Referenced by disposing(), hasMoreElements(), impl_startDisposeListening(), impl_stopDisposeListening(), and nextElement().