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

#include <itemiter.hxx>

Collaboration diagram for SfxItemIter:
[legend]

Public Member Functions

 SfxItemIter (const SfxItemSet &rSet)
 
const SfxPoolItemGetCurItem () const
 get item, or null if no items More...
 
const SfxPoolItemNextItem ()
 
bool IsAtEnd () const
 
sal_uInt16 GetCurPos () const
 
sal_uInt16 GetFirstPos () const
 
sal_uInt16 GetLastPos () const
 
SfxItemState GetItemState (bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
 
void ClearItem ()
 

Private Member Functions

const SfxPoolItemImplNextItem ()
 

Private Attributes

const SfxItemSetm_rSet
 
sal_uInt16 m_nStart
 
sal_uInt16 m_nEnd
 
sal_uInt16 m_nCurrent
 

Detailed Description

Definition at line 27 of file itemiter.hxx.

Constructor & Destructor Documentation

◆ SfxItemIter()

SfxItemIter::SfxItemIter ( const SfxItemSet rSet)

Member Function Documentation

◆ ClearItem()

void SfxItemIter::ClearItem ( )

Definition at line 65 of file itemiter.cxx.

References m_nCurrent, SfxItemSet::m_ppItems, and m_rSet.

◆ GetCurItem()

const SfxPoolItem * SfxItemIter::GetCurItem ( ) const
inline

get item, or null if no items

Definition at line 38 of file itemiter.hxx.

References SfxItemSet::m_nCount, and SfxItemSet::m_ppItems.

Referenced by SfxItemSet::dumpAsXml(), SfxStyleSheetBase::GetDescription(), and StylePoolImpl::insertItemSet().

◆ GetCurPos()

sal_uInt16 SfxItemIter::GetCurPos ( ) const
inline

Definition at line 46 of file itemiter.hxx.

◆ GetFirstPos()

sal_uInt16 SfxItemIter::GetFirstPos ( ) const
inline

Definition at line 47 of file itemiter.hxx.

◆ GetItemState()

SfxItemState SfxItemIter::GetItemState ( bool  bSrchInParent = true,
const SfxPoolItem **  ppItem = nullptr 
) const

Definition at line 59 of file itemiter.cxx.

References SfxItemSet::GetItemStateImpl(), m_nCurrent, SfxItemSet::m_ppItems, and m_rSet.

◆ GetLastPos()

sal_uInt16 SfxItemIter::GetLastPos ( ) const
inline

Definition at line 48 of file itemiter.hxx.

◆ ImplNextItem()

const SfxPoolItem * SfxItemIter::ImplNextItem ( )
private

Definition at line 49 of file itemiter.cxx.

References m_nCurrent, m_nEnd, SfxItemSet::m_ppItems, and m_rSet.

◆ IsAtEnd()

bool SfxItemIter::IsAtEnd ( ) const
inline

Definition at line 44 of file itemiter.hxx.

◆ NextItem()

const SfxPoolItem * SfxItemIter::NextItem ( )
inline

Member Data Documentation

◆ m_nCurrent

sal_uInt16 SfxItemIter::m_nCurrent
private

Definition at line 32 of file itemiter.hxx.

Referenced by ClearItem(), GetItemState(), ImplNextItem(), and SfxItemIter().

◆ m_nEnd

sal_uInt16 SfxItemIter::m_nEnd
private

Definition at line 31 of file itemiter.hxx.

Referenced by ImplNextItem(), and SfxItemIter().

◆ m_nStart

sal_uInt16 SfxItemIter::m_nStart
private

Definition at line 30 of file itemiter.hxx.

Referenced by SfxItemIter().

◆ m_rSet

const SfxItemSet& SfxItemIter::m_rSet
private

Definition at line 29 of file itemiter.hxx.

Referenced by ClearItem(), GetItemState(), ImplNextItem(), and SfxItemIter().


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