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 > const &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

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

Definition at line 32 of file container.cxx.

References m_xStartingPoint.

comphelper::IndexAccessIterator::~IndexAccessIterator ( )
virtual

Definition at line 38 of file container.cxx.

Member Function Documentation

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

Definition at line 56 of file container.hxx.

Referenced by Next().

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

Definition at line 59 of file container.hxx.

Referenced by Next().

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

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

Definition at line 43 of file container.hxx.

Referenced by Next().

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

Definition at line 41 of file container.hxx.

Referenced by Next().

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: