LibreOffice Module comphelper (master)  1
Public Member Functions | Private Attributes | List of all members
comphelper::OAnyEnumeration Class Referencefinal

provides a com.sun.star.container::XEnumeration for an outside set vector of Any's. More...

#include <enumhelper.hxx>

Inheritance diagram for comphelper::OAnyEnumeration:
[legend]
Collaboration diagram for comphelper::OAnyEnumeration:
[legend]

Public Member Functions

 OAnyEnumeration (const css::uno::Sequence< css::uno::Any > &lItems)
 
virtual ~OAnyEnumeration () override
 
virtual sal_Bool SAL_CALL hasMoreElements () override
 
virtual css::uno::Any SAL_CALL nextElement () override
 

Private Attributes

sal_Int32 m_nPos
 
css::uno::Sequence< css::uno::Any > m_lItems
 
- Private Attributes inherited from comphelper::OEnumerationLock
::osl::Mutex m_aLock
 

Detailed Description

provides a com.sun.star.container::XEnumeration for an outside set vector of Any's.

Definition at line 102 of file enumhelper.hxx.

Constructor & Destructor Documentation

comphelper::OAnyEnumeration::OAnyEnumeration ( const css::uno::Sequence< css::uno::Any > &  lItems)

Definition at line 233 of file enumhelper.cxx.

comphelper::OAnyEnumeration::~OAnyEnumeration ( )
overridevirtual

Definition at line 240 of file enumhelper.cxx.

Member Function Documentation

sal_Bool SAL_CALL comphelper::OAnyEnumeration::hasMoreElements ( )
overridevirtual

Definition at line 245 of file enumhelper.cxx.

References comphelper::OEnumerationLock::m_aLock, m_lItems, and m_nPos.

Referenced by nextElement().

css::uno::Any SAL_CALL comphelper::OAnyEnumeration::nextElement ( )
overridevirtual

Member Data Documentation

css::uno::Sequence< css::uno::Any > comphelper::OAnyEnumeration::m_lItems
private

Definition at line 106 of file enumhelper.hxx.

Referenced by hasMoreElements(), and nextElement().

sal_Int32 comphelper::OAnyEnumeration::m_nPos
private

Definition at line 105 of file enumhelper.hxx.

Referenced by hasMoreElements(), and nextElement().


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