LibreOffice Module comphelper (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
comphelper::IndexAccessIterator Class Reference

an iterator that iterates through all elements, starting from an XIndexAccess (pre-order) More...

#include <container.hxx>

Public Member Functions

 IndexAccessIterator (css::uno::Reference< css::uno::XInterface > xStartingPoint)
 
virtual ~IndexAccessIterator ()
 
css::uno::Reference< css::uno::XInterface > const & Next ()
 
virtual void Invalidate ()
 

Protected Member Functions

virtual bool ShouldHandleElement (const css::uno::Reference< css::uno::XInterface > &)
 
virtual bool ShouldStepInto (const css::uno::Reference< css::uno::XInterface > &) const
 

Protected Attributes

css::uno::Reference< css::uno::XInterface > m_xStartingPoint
 
css::uno::Reference< css::uno::XInterface > m_xCurrentObject
 
::std::vector< sal_Int32 > m_arrChildIndizies
 

Detailed Description

an iterator that iterates through all elements, starting from an XIndexAccess (pre-order)

Definition at line 36 of file container.hxx.

Constructor & Destructor Documentation

◆ IndexAccessIterator()

comphelper::IndexAccessIterator::IndexAccessIterator ( css::uno::Reference< css::uno::XInterface >  xStartingPoint)

Definition at line 33 of file container.cxx.

References m_xStartingPoint.

◆ ~IndexAccessIterator()

comphelper::IndexAccessIterator::~IndexAccessIterator ( )
virtual

Definition at line 39 of file container.cxx.

Member Function Documentation

◆ Invalidate()

virtual void comphelper::IndexAccessIterator::Invalidate ( )
inlinevirtual

Definition at line 56 of file container.hxx.

Referenced by Next().

◆ Next()

css::uno::Reference< css::uno::XInterface > const & comphelper::IndexAccessIterator::Next ( void  )

◆ ShouldHandleElement()

virtual bool comphelper::IndexAccessIterator::ShouldHandleElement ( const css::uno::Reference< css::uno::XInterface > &  )
inlineprotectedvirtual

Definition at line 59 of file container.hxx.

Referenced by Next().

◆ ShouldStepInto()

virtual bool comphelper::IndexAccessIterator::ShouldStepInto ( const css::uno::Reference< css::uno::XInterface > &  ) const
inlineprotectedvirtual

Definition at line 66 of file container.hxx.

Referenced by Next().

Member Data Documentation

◆ m_arrChildIndizies

::std::vector<sal_Int32> comphelper::IndexAccessIterator::m_arrChildIndizies
protected

Definition at line 43 of file container.hxx.

Referenced by Next().

◆ m_xCurrentObject

css::uno::Reference< css::uno::XInterface> comphelper::IndexAccessIterator::m_xCurrentObject
protected

Definition at line 41 of file container.hxx.

Referenced by Next().

◆ m_xStartingPoint

css::uno::Reference< css::uno::XInterface> comphelper::IndexAccessIterator::m_xStartingPoint
protected

Definition at line 39 of file container.hxx.

Referenced by IndexAccessIterator(), and Next().


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