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

implement XEnumeration based on container::XIndexAccess More...

#include <enumeration.hxx>

Inheritance diagram for Enumeration:
[legend]
Collaboration diagram for Enumeration:
[legend]

Public Member Functions

 Enumeration (css::container::XIndexAccess *)
 
virtual sal_Bool SAL_CALL hasMoreElements () override
 
virtual css::uno::Any SAL_CALL nextElement () override
 

Private Attributes

css::uno::Reference< css::container::XIndexAccess > mxContainer
 
sal_Int32 mnIndex
 

Detailed Description

implement XEnumeration based on container::XIndexAccess

Definition at line 36 of file enumeration.hxx.

Constructor & Destructor Documentation

◆ Enumeration()

Enumeration::Enumeration ( css::container::XIndexAccess *  )
explicit

Definition at line 34 of file enumeration.cxx.

References mnIndex, mxContainer, and mxContainer.

Member Function Documentation

◆ hasMoreElements()

sal_Bool Enumeration::hasMoreElements ( )
overridevirtual

Definition at line 41 of file enumeration.cxx.

References mnIndex, and mxContainer.

◆ nextElement()

Any Enumeration::nextElement ( )
overridevirtual

Definition at line 49 of file enumeration.cxx.

References Any, mnIndex, and mxContainer.

Member Data Documentation

◆ mnIndex

sal_Int32 Enumeration::mnIndex
private

Definition at line 40 of file enumeration.hxx.

Referenced by hasMoreElements(), and nextElement().

◆ mxContainer

css::uno::Reference<css::container::XIndexAccess> Enumeration::mxContainer
private

Definition at line 39 of file enumeration.hxx.

Referenced by Enumeration(), hasMoreElements(), and nextElement().


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