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

#include <ocomponentenumeration.hxx>

Inheritance diagram for framework::OComponentEnumeration:
[legend]
Collaboration diagram for framework::OComponentEnumeration:
[legend]

Public Member Functions

 OComponentEnumeration (std::vector< css::uno::Reference< css::lang::XComponent > > &&seqComponents)
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 
virtual sal_Bool SAL_CALL hasMoreElements () override
 
virtual css::uno::Any SAL_CALL nextElement () override
 

Private Member Functions

virtual ~OComponentEnumeration () override
 
void impl_resetObject ()
 

Private Attributes

sal_uInt32 m_nPosition
 
std::vector< css::uno::Reference< css::lang::XComponent > > m_seqComponents
 current position in enumeration More...
 

Detailed Description

Definition at line 48 of file ocomponentenumeration.hxx.

Constructor & Destructor Documentation

◆ OComponentEnumeration()

framework::OComponentEnumeration::OComponentEnumeration ( std::vector< css::uno::Reference< css::lang::XComponent > > &&  seqComponents)

Definition at line 35 of file ocomponentenumeration.cxx.

References m_nPosition.

◆ ~OComponentEnumeration()

framework::OComponentEnumeration::~OComponentEnumeration ( )
overrideprivatevirtual

Definition at line 42 of file ocomponentenumeration.cxx.

References impl_resetObject().

Member Function Documentation

◆ disposing()

void SAL_CALL framework::OComponentEnumeration::disposing ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 49 of file ocomponentenumeration.cxx.

References aEvent, impl_resetObject(), and SAL_WARN_IF.

◆ hasMoreElements()

sal_Bool SAL_CALL framework::OComponentEnumeration::hasMoreElements ( )
overridevirtual

Definition at line 62 of file ocomponentenumeration.cxx.

References m_nPosition, and m_seqComponents.

Referenced by nextElement().

◆ impl_resetObject()

void framework::OComponentEnumeration::impl_resetObject ( )
private

Definition at line 98 of file ocomponentenumeration.cxx.

References m_nPosition, and m_seqComponents.

Referenced by disposing(), and ~OComponentEnumeration().

◆ nextElement()

Any SAL_CALL framework::OComponentEnumeration::nextElement ( )
overridevirtual

Definition at line 75 of file ocomponentenumeration.cxx.

References Any, hasMoreElements(), m_nPosition, and m_seqComponents.

Member Data Documentation

◆ m_nPosition

sal_uInt32 framework::OComponentEnumeration::m_nPosition
private

Definition at line 153 of file ocomponentenumeration.hxx.

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

◆ m_seqComponents

std::vector< css::uno::Reference< css::lang::XComponent > > framework::OComponentEnumeration::m_seqComponents
private

current position in enumeration

Definition at line 154 of file ocomponentenumeration.hxx.

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


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